BWAPI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends
messages::Command Class Reference

#include <command.pb.h>

Inheritance diagram for messages::Command:
Inheritance graph
[legend]
Collaboration diagram for messages::Command:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Command ()
virtual ~Command ()
 Command (const Command &from)
Commandoperator= (const Command &from)
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
void Swap (Command *other)
CommandNew () const
void CopyFrom (const ::google::protobuf::Message &from)
void MergeFrom (const ::google::protobuf::Message &from)
void CopyFrom (const Command &from)
void MergeFrom (const Command &from)
void Clear ()
bool IsInitialized () const
int ByteSize () const
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
::google::protobuf::uint8SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
int GetCachedSize () const
::google::protobuf::Metadata GetMetadata () const
bool has_type () const
void clear_type ()
messages::CommandType type () const
void set_type (messages::CommandType value)
bool has_self () const
void clear_self ()
const ::messages::UnitIdself () const
inline::messages::UnitId * mutable_self ()
bool has_pos () const
void clear_pos ()
const ::messages::Positionpos () const
inline::messages::Position * mutable_pos ()
bool has_tilepos () const
void clear_tilepos ()
const ::messages::TilePositiontilepos () const
inline::messages::TilePosition * mutable_tilepos ()
bool has_target () const
void clear_target ()
const ::messages::UnitIdtarget () const
inline::messages::UnitId * mutable_target ()
bool has_unittype () const
void clear_unittype ()
const ::messages::UnitTypeunittype () const
inline::messages::UnitType * mutable_unittype ()
bool has_techtype () const
void clear_techtype ()
const ::messages::TechTypetechtype () const
inline::messages::TechType * mutable_techtype ()
bool has_upgradetype () const
void clear_upgradetype ()
const ::messages::UpgradeTypeupgradetype () const
inline::messages::UpgradeType * mutable_upgradetype ()
bool has_slot () const
void clear_slot ()
inline::google::protobuf::int32 slot () const
void set_slot (::google::protobuf::int32 value)

Static Public Member Functions

static const
::google::protobuf::Descriptor
descriptor ()
static const Commanddefault_instance ()

Static Public Attributes

static const int kTypeFieldNumber = 1
static const int kSelfFieldNumber = 2
static const int kPosFieldNumber = 3
static const int kTilePosFieldNumber = 4
static const int kTargetFieldNumber = 5
static const int kUnitTypeFieldNumber = 6
static const int kTechTypeFieldNumber = 7
static const int kUpgradeTypeFieldNumber = 8
static const int kSlotFieldNumber = 9

Friends

void protobuf_AddDesc_command_2eproto ()
void protobuf_AssignDesc_command_2eproto ()
void protobuf_ShutdownFile_command_2eproto ()

Constructor & Destructor Documentation

virtual messages::Command::~Command ( ) [virtual]

Member Function Documentation

int messages::Command::ByteSize ( ) const [virtual]

Reimplemented from google::protobuf::Message.

void messages::Command::Clear ( ) [virtual]

Reimplemented from google::protobuf::Message.

void messages::Command::clear_pos ( ) [inline]
void messages::Command::clear_self ( ) [inline]
void messages::Command::clear_slot ( ) [inline]
void messages::Command::clear_type ( ) [inline]

Here is the caller graph for this function:

void messages::Command::CopyFrom ( const Command from)
static const Command& messages::Command::default_instance ( ) [static]
int messages::Command::GetCachedSize ( ) const [inline, virtual]
bool messages::Command::has_pos ( ) const [inline]
bool messages::Command::has_self ( ) const [inline]
bool messages::Command::has_slot ( ) const [inline]
bool messages::Command::has_target ( ) const [inline]
bool messages::Command::has_techtype ( ) const [inline]
bool messages::Command::has_tilepos ( ) const [inline]
bool messages::Command::has_type ( ) const [inline]
bool messages::Command::has_unittype ( ) const [inline]
bool messages::Command::has_upgradetype ( ) const [inline]
bool messages::Command::IsInitialized ( ) const [virtual]

Reimplemented from google::protobuf::Message.

void messages::Command::MergeFrom ( const Command from)
Command* messages::Command::New ( ) const [virtual]
Command& messages::Command::operator= ( const Command from) [inline]

Here is the call graph for this function:

const ::messages::Position & messages::Command::pos ( ) const [inline]
const ::messages::UnitId & messages::Command::self ( ) const [inline]

Here is the call graph for this function:

void messages::Command::Swap ( Command other)
const ::messages::UnitId & messages::Command::target ( ) const [inline]
const ::messages::TechType & messages::Command::techtype ( ) const [inline]
const ::messages::TilePosition & messages::Command::tilepos ( ) const [inline]
const ::messages::UnitType & messages::Command::unittype ( ) const [inline]

Friends And Related Function Documentation


Member Data Documentation

const int messages::Command::kPosFieldNumber = 3 [static]
const int messages::Command::kSelfFieldNumber = 2 [static]
const int messages::Command::kSlotFieldNumber = 9 [static]
const int messages::Command::kTargetFieldNumber = 5 [static]
const int messages::Command::kTypeFieldNumber = 1 [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines