Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::scheduling::rcpsp::Task Class Referencefinal

Detailed Description

Definition at line 1184 of file rcpsp.pb.h.

#include <rcpsp.pb.h>

Inheritance diagram for operations_research::scheduling::rcpsp::Task:

Classes

class  _Internal

Public Types

enum  : int { kSuccessorsFieldNumber = 1 , kRecipesFieldNumber = 2 , kSuccessorDelaysFieldNumber = 3 }

Public Member Functions

 Task ()
 ~Task () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR Task (::google::protobuf::internal::ConstantInitialized)
 Task (const Task &from)
 Task (Task &&from) noexcept
Taskoperator= (const Task &from)
Taskoperator= (Task &&from) noexcept
const ::google::protobuf::UnknownFieldSet & unknown_fields () const ABSL_ATTRIBUTE_LIFETIME_BOUND
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields () ABSL_ATTRIBUTE_LIFETIME_BOUND
void Swap (Task *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (Task *PROTOBUF_NONNULL other)
Task *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void CopyFrom (const Task &from)
void MergeFrom (const Task &from)
bool IsInitialized () const
ABSL_ATTRIBUTE_REINITIALIZES void Clear () PROTOBUF_FINAL
::size_t ByteSizeLong () const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize (::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
int GetCachedSize () const
::google::protobuf::Metadata GetMetadata () const
int successors_size () const
void clear_successors ()
::int32_t successors (int index) const
void set_successors (int index, ::int32_t value)
void add_successors (::int32_t value)
const ::google::protobuf::RepeatedField<::int32_t > & successors () const
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_successors ()
int recipes_size () const
void clear_recipes ()
::operations_research::scheduling::rcpsp::Recipe *PROTOBUF_NONNULL mutable_recipes (int index)
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe > *PROTOBUF_NONNULL mutable_recipes ()
const ::operations_research::scheduling::rcpsp::Reciperecipes (int index) const
::operations_research::scheduling::rcpsp::Recipe *PROTOBUF_NONNULL add_recipes ()
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe > & recipes () const
int successor_delays_size () const
void clear_successor_delays ()
::operations_research::scheduling::rcpsp::PerSuccessorDelays *PROTOBUF_NONNULL mutable_successor_delays (int index)
::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays > *PROTOBUF_NONNULL mutable_successor_delays ()
const ::operations_research::scheduling::rcpsp::PerSuccessorDelayssuccessor_delays (int index) const
::operations_research::scheduling::rcpsp::PerSuccessorDelays *PROTOBUF_NONNULL add_successor_delays ()
const ::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays > & successor_delays () const

Static Public Member Functions

static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor ()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor ()
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection ()
static const Taskdefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 4

Friends

class ::google::protobuf::internal::TcParser
class ::google::protobuf::MessageLite
class ::google::protobuf::Arena
template<typename T>
class ::google::protobuf::Arena::InternalHelper
struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto
void swap (Task &a, Task &b)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kSuccessorsFieldNumber 
kRecipesFieldNumber 
kSuccessorDelaysFieldNumber 

Definition at line 1325 of file rcpsp.pb.h.

Constructor & Destructor Documentation

◆ Task() [1/4]

operations_research::scheduling::rcpsp::Task::Task ( )
inline

Definition at line 1187 of file rcpsp.pb.h.

◆ ~Task()

operations_research::scheduling::rcpsp::Task::~Task ( )

Definition at line 1721 of file rcpsp.pb.cc.

◆ Task() [2/4]

template<typename = void>
PROTOBUF_CONSTEXPR operations_research::scheduling::rcpsp::Task::Task ( ::google::protobuf::internal::ConstantInitialized )
explicit

◆ Task() [3/4]

operations_research::scheduling::rcpsp::Task::Task ( const Task & from)
inline

Definition at line 1200 of file rcpsp.pb.h.

◆ Task() [4/4]

operations_research::scheduling::rcpsp::Task::Task ( Task && from)
inlinenoexcept

Definition at line 1201 of file rcpsp.pb.h.

Member Function Documentation

◆ _InternalSerialize()

uint8_t *PROTOBUF_NONNULL operations_research::scheduling::rcpsp::Task::_InternalSerialize ( ::uint8_t *PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream ) const
final

Definition at line 1876 of file rcpsp.pb.cc.

◆ add_recipes()

operations_research::scheduling::rcpsp::Recipe *PROTOBUF_NONNULL operations_research::scheduling::rcpsp::Task::add_recipes ( )
inline

Definition at line 2241 of file rcpsp.pb.h.

◆ add_successor_delays()

operations_research::scheduling::rcpsp::PerSuccessorDelays *PROTOBUF_NONNULL operations_research::scheduling::rcpsp::Task::add_successor_delays ( )
inline

Definition at line 2297 of file rcpsp.pb.h.

◆ add_successors()

void operations_research::scheduling::rcpsp::Task::add_successors ( ::int32_t value)
inline

Definition at line 2182 of file rcpsp.pb.h.

◆ ByteSizeLong()

size_t operations_research::scheduling::rcpsp::Task::ByteSizeLong ( ) const
final

Definition at line 1939 of file rcpsp.pb.cc.

◆ Clear()

PROTOBUF_NOINLINE void operations_research::scheduling::rcpsp::Task::Clear ( )

Definition at line 1847 of file rcpsp.pb.cc.

◆ clear_recipes()

void operations_research::scheduling::rcpsp::Task::clear_recipes ( )
inline

Definition at line 2218 of file rcpsp.pb.h.

◆ clear_successor_delays()

void operations_research::scheduling::rcpsp::Task::clear_successor_delays ( )
inline

Definition at line 2274 of file rcpsp.pb.h.

◆ clear_successors()

void operations_research::scheduling::rcpsp::Task::clear_successors ( )
inline

Definition at line 2168 of file rcpsp.pb.h.

◆ CopyFrom()

void operations_research::scheduling::rcpsp::Task::CopyFrom ( const Task & from)

Definition at line 2013 of file rcpsp.pb.cc.

◆ default_instance()

const Task & operations_research::scheduling::rcpsp::Task::default_instance ( )
inlinestatic

Definition at line 1235 of file rcpsp.pb.h.

◆ descriptor()

const ::google::protobuf::Descriptor *PROTOBUF_NONNULL operations_research::scheduling::rcpsp::Task::descriptor ( )
inlinestatic

Definition at line 1226 of file rcpsp.pb.h.

◆ GetCachedSize()

int operations_research::scheduling::rcpsp::Task::GetCachedSize ( ) const
inline

Definition at line 1294 of file rcpsp.pb.h.

◆ GetDescriptor()

const ::google::protobuf::Descriptor *PROTOBUF_NONNULL operations_research::scheduling::rcpsp::Task::GetDescriptor ( )
inlinestatic

Definition at line 1229 of file rcpsp.pb.h.

◆ GetMetadata()

google::protobuf::Metadata operations_research::scheduling::rcpsp::Task::GetMetadata ( ) const

Definition at line 2030 of file rcpsp.pb.cc.

◆ GetReflection()

const ::google::protobuf::Reflection *PROTOBUF_NONNULL operations_research::scheduling::rcpsp::Task::GetReflection ( )
inlinestatic

Definition at line 1232 of file rcpsp.pb.h.

◆ InternalGenerateClassData_()

auto operations_research::scheduling::rcpsp::Task::InternalGenerateClassData_ ( )
staticconstexpr

Definition at line 1764 of file rcpsp.pb.cc.

◆ IsInitialized()

bool operations_research::scheduling::rcpsp::Task::IsInitialized ( ) const
inline

Definition at line 1270 of file rcpsp.pb.h.

◆ MergeFrom()

void operations_research::scheduling::rcpsp::Task::MergeFrom ( const Task & from)
inline

Definition at line 1263 of file rcpsp.pb.h.

◆ mutable_recipes() [1/2]

google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe > *PROTOBUF_NONNULL operations_research::scheduling::rcpsp::Task::mutable_recipes ( )
inline

Definition at line 2229 of file rcpsp.pb.h.

◆ mutable_recipes() [2/2]

operations_research::scheduling::rcpsp::Recipe *PROTOBUF_NONNULL operations_research::scheduling::rcpsp::Task::mutable_recipes ( int index)
inline

Definition at line 2224 of file rcpsp.pb.h.

◆ mutable_successor_delays() [1/2]

google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays > *PROTOBUF_NONNULL operations_research::scheduling::rcpsp::Task::mutable_successor_delays ( )
inline

Definition at line 2285 of file rcpsp.pb.h.

◆ mutable_successor_delays() [2/2]

operations_research::scheduling::rcpsp::PerSuccessorDelays *PROTOBUF_NONNULL operations_research::scheduling::rcpsp::Task::mutable_successor_delays ( int index)
inline

Definition at line 2280 of file rcpsp.pb.h.

◆ mutable_successors()

google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL operations_research::scheduling::rcpsp::Task::mutable_successors ( )
inline

Definition at line 2193 of file rcpsp.pb.h.

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL operations_research::scheduling::rcpsp::Task::mutable_unknown_fields ( )
inline

Definition at line 1221 of file rcpsp.pb.h.

◆ New()

Task *PROTOBUF_NONNULL operations_research::scheduling::rcpsp::Task::New ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena = nullptr) const
inline

Definition at line 1257 of file rcpsp.pb.h.

◆ operator=() [1/2]

Task & operations_research::scheduling::rcpsp::Task::operator= ( const Task & from)
inline

Definition at line 1203 of file rcpsp.pb.h.

◆ operator=() [2/2]

Task & operations_research::scheduling::rcpsp::Task::operator= ( Task && from)
inlinenoexcept

Definition at line 1207 of file rcpsp.pb.h.

◆ recipes() [1/2]

const::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::Recipe > & operations_research::scheduling::rcpsp::Task::recipes ( ) const
inline

Definition at line 2251 of file rcpsp.pb.h.

◆ recipes() [2/2]

const::operations_research::scheduling::rcpsp::Recipe & operations_research::scheduling::rcpsp::Task::recipes ( int index) const
inline

Definition at line 2236 of file rcpsp.pb.h.

◆ recipes_size()

int operations_research::scheduling::rcpsp::Task::recipes_size ( ) const
inline

Definition at line 2215 of file rcpsp.pb.h.

◆ set_successors()

void operations_research::scheduling::rcpsp::Task::set_successors ( int index,
::int32_t value )
inline

Definition at line 2178 of file rcpsp.pb.h.

◆ successor_delays() [1/2]

const::google::protobuf::RepeatedPtrField<::operations_research::scheduling::rcpsp::PerSuccessorDelays > & operations_research::scheduling::rcpsp::Task::successor_delays ( ) const
inline

Definition at line 2307 of file rcpsp.pb.h.

◆ successor_delays() [2/2]

const::operations_research::scheduling::rcpsp::PerSuccessorDelays & operations_research::scheduling::rcpsp::Task::successor_delays ( int index) const
inline

Definition at line 2292 of file rcpsp.pb.h.

◆ successor_delays_size()

int operations_research::scheduling::rcpsp::Task::successor_delays_size ( ) const
inline

Definition at line 2271 of file rcpsp.pb.h.

◆ successors() [1/2]

const::google::protobuf::RepeatedField<::int32_t > & operations_research::scheduling::rcpsp::Task::successors ( ) const
inline

Definition at line 2188 of file rcpsp.pb.h.

◆ successors() [2/2]

int32_t operations_research::scheduling::rcpsp::Task::successors ( int index) const
inline

Definition at line 2174 of file rcpsp.pb.h.

◆ successors_size()

int operations_research::scheduling::rcpsp::Task::successors_size ( ) const
inline

Definition at line 2165 of file rcpsp.pb.h.

◆ Swap()

void operations_research::scheduling::rcpsp::Task::Swap ( Task *PROTOBUF_NONNULL other)
inline

Definition at line 1241 of file rcpsp.pb.h.

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & operations_research::scheduling::rcpsp::Task::unknown_fields ( ) const
inline

Definition at line 1217 of file rcpsp.pb.h.

◆ UnsafeArenaSwap()

void operations_research::scheduling::rcpsp::Task::UnsafeArenaSwap ( Task *PROTOBUF_NONNULL other)
inline

Definition at line 1249 of file rcpsp.pb.h.

◆ ::google::protobuf::Arena

friend class ::google::protobuf::Arena
friend

Definition at line 1392 of file rcpsp.pb.h.

◆ ::google::protobuf::Arena::InternalHelper

template<typename T>
friend class ::google::protobuf::Arena::InternalHelper
friend

Definition at line 1394 of file rcpsp.pb.h.

◆ ::google::protobuf::internal::TcParser

friend class ::google::protobuf::internal::TcParser
friend

Definition at line 1385 of file rcpsp.pb.h.

◆ ::google::protobuf::MessageLite

friend class ::google::protobuf::MessageLite
friend

Definition at line 1391 of file rcpsp.pb.h.

◆ ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto

friend struct ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto
friend

Definition at line 1415 of file rcpsp.pb.h.

◆ swap

void swap ( Task & a,
Task & b )
friend

Definition at line 1240 of file rcpsp.pb.h.

Member Data Documentation

◆ _impl_

Impl_ operations_research::scheduling::rcpsp::Task::_impl_

Definition at line 1414 of file rcpsp.pb.h.

◆ kIndexInFileMessages

int operations_research::scheduling::rcpsp::Task::kIndexInFileMessages = 4
staticconstexpr

Definition at line 1239 of file rcpsp.pb.h.


The documentation for this class was generated from the following files: