Google OR-Tools v9.14
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 1186 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 }
 nested types -------------------------------------------------— More...

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
 implements Message -------------------------------------------—
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
 repeated int32 successors = 1;
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
 repeated .operations_research.scheduling.rcpsp.Recipe recipes = 2;
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
 repeated .operations_research.scheduling.rcpsp.PerSuccessorDelays successor_delays = 3;
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

Protected Member Functions

 Task (::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
 Task (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, const Task &from)
 Task (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, Task &&from) noexcept
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData () const PROTOBUF_FINAL

Static Protected Member Functions

static void *PROTOBUF_NONNULL PlacementNew_ (const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalNewImpl_ ()

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

nested types -------------------------------------------------—

accessors ----------------------------------------------------—

Enumerator
kSuccessorsFieldNumber 
kRecipesFieldNumber 
kSuccessorDelaysFieldNumber 

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

Constructor & Destructor Documentation

◆ Task() [1/7]

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

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

◆ ~Task()

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

@protoc_insertion_point(destructor:operations_research.scheduling.rcpsp.Task)

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

◆ Task() [2/7]

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

◆ Task() [3/7]

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

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

◆ Task() [4/7]

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

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

◆ Task() [5/7]

operations_research::scheduling::rcpsp::Task::Task ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
explicitprotected

@protoc_insertion_point(arena_constructor:operations_research.scheduling.rcpsp.Task)

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

◆ Task() [6/7]

operations_research::scheduling::rcpsp::Task::Task ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena,
const Task & from )
protected

@protoc_insertion_point(copy_constructor:operations_research.scheduling.rcpsp.Task)

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

◆ Task() [7/7]

operations_research::scheduling::rcpsp::Task::Task ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena,
Task && from )
inlineprotectednoexcept

Definition at line 1310 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

@protoc_insertion_point(serialize_to_array_start:operations_research.scheduling.rcpsp.Task)

repeated int32 successors = 1;

repeated .operations_research.scheduling.rcpsp.Recipe recipes = 2;

repeated .operations_research.scheduling.rcpsp.PerSuccessorDelays successor_delays = 3;

@protoc_insertion_point(serialize_to_array_end:operations_research.scheduling.rcpsp.Task)

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

◆ add_recipes()

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

@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.Task.recipes)

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

◆ add_successor_delays()

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

@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.Task.successor_delays)

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

◆ add_successors()

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

@protoc_insertion_point(field_add:operations_research.scheduling.rcpsp.Task.successors)

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

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.scheduling.rcpsp.Task)

Prevent compiler warnings about cached_has_bits being unused

repeated int32 successors = 1;

repeated .operations_research.scheduling.rcpsp.Recipe recipes = 2;

repeated .operations_research.scheduling.rcpsp.PerSuccessorDelays successor_delays = 3;

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

◆ Clear()

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

@protoc_insertion_point(message_clear_start:operations_research.scheduling.rcpsp.Task)

Prevent compiler warnings about cached_has_bits being unused

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

◆ clear_recipes()

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

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

◆ clear_successor_delays()

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

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

◆ clear_successors()

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

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

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.scheduling.rcpsp.Task)

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ GetCachedSize()

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

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

◆ GetClassData()

PROTOBUF_ATTRIBUTE_WEAKconst::google::protobuf::internal::ClassData *PROTOBUF_NONNULL operations_research::scheduling::rcpsp::Task::GetClassData ( ) const
protected

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ InternalGenerateClassData_()

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

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

◆ InternalNewImpl_()

auto operations_research::scheduling::rcpsp::Task::InternalNewImpl_ ( )
staticconstexprprotected

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

◆ IsInitialized()

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

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

◆ MergeFrom()

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

Definition at line 1265 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

@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.Task.recipes)

Definition at line 2203 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

@protoc_insertion_point(field_mutable:operations_research.scheduling.rcpsp.Task.recipes)

Definition at line 2198 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

@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.Task.successor_delays)

Definition at line 2253 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

@protoc_insertion_point(field_mutable:operations_research.scheduling.rcpsp.Task.successor_delays)

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

◆ mutable_successors()

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

@protoc_insertion_point(field_mutable_list:operations_research.scheduling.rcpsp.Task.successors)

Definition at line 2170 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 1223 of file rcpsp.pb.h.

◆ New()

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

implements Message -------------------------------------------—

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ PlacementNew_()

void *PROTOBUF_NONNULL operations_research::scheduling::rcpsp::Task::PlacementNew_ ( const void * PROTOBUF_NONNULL,
void *PROTOBUF_NONNULL mem,
::google::protobuf::Arena *PROTOBUF_NULLABLE arena )
inlinestaticprotected

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

◆ recipes() [1/2]

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

@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.Task.recipes)

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

◆ recipes() [2/2]

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

@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Task.recipes)

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

◆ recipes_size()

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

repeated .operations_research.scheduling.rcpsp.Recipe recipes = 2;

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

◆ set_successors()

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

@protoc_insertion_point(field_set:operations_research.scheduling.rcpsp.Task.successors)

Definition at line 2156 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

@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.Task.successor_delays)

Definition at line 2271 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

@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Task.successor_delays)

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

◆ successor_delays_size()

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

repeated .operations_research.scheduling.rcpsp.PerSuccessorDelays successor_delays = 3;

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

◆ successors() [1/2]

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

@protoc_insertion_point(field_list:operations_research.scheduling.rcpsp.Task.successors)

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

◆ successors() [2/2]

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

@protoc_insertion_point(field_get:operations_research.scheduling.rcpsp.Task.successors)

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

◆ successors_size()

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

repeated int32 successors = 1;

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ UnsafeArenaSwap()

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

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2fscheduling_2frcpsp_2eproto

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

◆ swap

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

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

Member Data Documentation

◆ _impl_

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

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

◆ kIndexInFileMessages

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

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


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