cocos2d-x  3.3rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SpriteOptions Class Reference

#include <CSParseBinary.pb.h>

Inheritance diagram for SpriteOptions:

Public Member Functions

 SpriteOptions ()
virtual ~SpriteOptions ()
 SpriteOptions (const SpriteOptions &from)
SpriteOptionsoperator= (const SpriteOptions &from)
void Swap (SpriteOptions *other)
SpriteOptionsNew () const
void CheckTypeAndMergeFrom (const ::google::protobuf::MessageLite &from)
void CopyFrom (const SpriteOptions &from)
void MergeFrom (const SpriteOptions &from)
void Clear ()
bool IsInitialized () const
int ByteSize () const
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
int GetCachedSize () const
::std::string GetTypeName () const
bool has_name () const
void clear_name ()
const ::std::string & name () const
void set_name (const ::std::string &value)
void set_name (const char *value)
void set_name (const char *value, size_t size)
inline::std::string * mutable_name ()
inline::std::string * release_name ()
void set_allocated_name (::std::string *name)
bool has_classname () const
void clear_classname ()
const ::std::string & classname () const
void set_classname (const ::std::string &value)
void set_classname (const char *value)
void set_classname (const char *value, size_t size)
inline::std::string * mutable_classname ()
inline::std::string * release_classname ()
void set_allocated_classname (::std::string *classname)
bool has_touchable () const
void clear_touchable ()
bool touchable () const
void set_touchable (bool value)
bool has_positiontype () const
void clear_positiontype ()
inline::google::protobuf::int32 positiontype () const
void set_positiontype (::google::protobuf::int32 value)
bool has_positionpercentx () const
void clear_positionpercentx ()
float positionpercentx () const
void set_positionpercentx (float value)
bool has_positionpercenty () const
void clear_positionpercenty ()
float positionpercenty () const
void set_positionpercenty (float value)
bool has_sizetype () const
void clear_sizetype ()
inline::google::protobuf::int32 sizetype () const
void set_sizetype (::google::protobuf::int32 value)
bool has_sizepercentx () const
void clear_sizepercentx ()
float sizepercentx () const
void set_sizepercentx (float value)
bool has_sizepercenty () const
void clear_sizepercenty ()
float sizepercenty () const
void set_sizepercenty (float value)
bool has_usemergedtexture () const
void clear_usemergedtexture ()
bool usemergedtexture () const
void set_usemergedtexture (bool value)
bool has_ignoresize () const
void clear_ignoresize ()
bool ignoresize () const
void set_ignoresize (bool value)
bool has_layoutparameter () const
void clear_layoutparameter ()
const
::protocolbuffers::LayoutParameter
layoutparameter () const
inline::protocolbuffers::LayoutParameter * mutable_layoutparameter ()
inline::protocolbuffers::LayoutParameter * release_layoutparameter ()
void set_allocated_layoutparameter (::protocolbuffers::LayoutParameter *layoutparameter)
bool has_customproperty () const
void clear_customproperty ()
const ::std::string & customproperty () const
void set_customproperty (const ::std::string &value)
void set_customproperty (const char *value)
void set_customproperty (const char *value, size_t size)
inline::std::string * mutable_customproperty ()
inline::std::string * release_customproperty ()
void set_allocated_customproperty (::std::string *customproperty)
bool has_filename () const
void clear_filename ()
const ::std::string & filename () const
void set_filename (const ::std::string &value)
void set_filename (const char *value)
void set_filename (const char *value, size_t size)
inline::std::string * mutable_filename ()
inline::std::string * release_filename ()
void set_allocated_filename (::std::string *filename)
bool has_flippedx () const
void clear_flippedx ()
bool flippedx () const
void set_flippedx (bool value)
bool has_flippedy () const
void clear_flippedy ()
bool flippedy () const
void set_flippedy (bool value)
bool has_filenamedata () const
void clear_filenamedata ()
const
::protocolbuffers::ResourceData
filenamedata () const
inline::protocolbuffers::ResourceData * mutable_filenamedata ()
inline::protocolbuffers::ResourceData * release_filenamedata ()
void set_allocated_filenamedata (::protocolbuffers::ResourceData *filenamedata)

Static Public Member Functions

static const SpriteOptionsdefault_instance ()

Static Public Attributes

static const int kNameFieldNumber = 1
static const int kClassnameFieldNumber = 2
static const int kTouchAbleFieldNumber = 3
static const int kPositionTypeFieldNumber = 4
static const int kPositionPercentXFieldNumber = 5
static const int kPositionPercentYFieldNumber = 6
static const int kSizeTypeFieldNumber = 7
static const int kSizePercentXFieldNumber = 8
static const int kSizePercentYFieldNumber = 9
static const int kUseMergedTextureFieldNumber = 10
static const int kIgnoreSizeFieldNumber = 11
static const int kLayoutParameterFieldNumber = 12
static const int kCustomPropertyFieldNumber = 13
static const int kFileNameFieldNumber = 14
static const int kFlippedXFieldNumber = 15
static const int kFlippedYFieldNumber = 16
static const int kFileNameDataFieldNumber = 17

Friends

void protobuf_AddDesc_CSParseBinary_2eproto ()
void protobuf_AssignDesc_CSParseBinary_2eproto ()
void protobuf_ShutdownFile_CSParseBinary_2eproto ()

Constructor & Destructor Documentation

virtual ~SpriteOptions ( )
virtual
SpriteOptions ( const SpriteOptions from)

Member Function Documentation

int ByteSize ( ) const
void CheckTypeAndMergeFrom ( const ::google::protobuf::MessageLite &  from)
const ::std::string & classname ( ) const
inline
void Clear ( )
void clear_classname ( )
inline
void clear_customproperty ( )
inline
void clear_filename ( )
inline
void clear_filenamedata ( )
inline
void clear_flippedx ( )
inline
void clear_flippedy ( )
inline
void clear_ignoresize ( )
inline
void clear_layoutparameter ( )
inline
void clear_name ( )
inline
void clear_positionpercentx ( )
inline
void clear_positionpercenty ( )
inline
void clear_positiontype ( )
inline
void clear_sizepercentx ( )
inline
void clear_sizepercenty ( )
inline
void clear_sizetype ( )
inline
void clear_touchable ( )
inline
void clear_usemergedtexture ( )
inline
void CopyFrom ( const SpriteOptions from)
const ::std::string
& customproperty
( ) const
inline
static const SpriteOptions&
default_instance
( )
static
const ::std::string & filename ( ) const
inline
const
::protocolbuffers::ResourceData
& filenamedata
( ) const
inline
bool flippedx ( ) const
inline
bool flippedy ( ) const
inline
int GetCachedSize ( ) const
inline
::std::string GetTypeName ( ) const
bool has_classname ( ) const
inline
bool has_customproperty ( ) const
inline
bool has_filename ( ) const
inline
bool has_filenamedata ( ) const
inline
bool has_flippedx ( ) const
inline
bool has_flippedy ( ) const
inline
bool has_ignoresize ( ) const
inline
bool has_layoutparameter ( ) const
inline
bool has_name ( ) const
inline
bool has_positionpercentx ( ) const
inline
bool has_positionpercenty ( ) const
inline
bool has_positiontype ( ) const
inline
bool has_sizepercentx ( ) const
inline
bool has_sizepercenty ( ) const
inline
bool has_sizetype ( ) const
inline
bool has_touchable ( ) const
inline
bool has_usemergedtexture ( ) const
inline
bool ignoresize ( ) const
inline
bool IsInitialized ( ) const
const
::protocolbuffers::LayoutParameter
& layoutparameter
( ) const
inline
void MergeFrom ( const SpriteOptions from)
bool MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)
std::string * mutable_classname ( )
inline
std::string
* mutable_customproperty
( )
inline
std::string * mutable_filename ( )
inline
protocolbuffers::ResourceData
* mutable_filenamedata
( )
inline
protocolbuffers::LayoutParameter
* mutable_layoutparameter
( )
inline
std::string * mutable_name ( )
inline
const ::std::string & name ( ) const
inline
SpriteOptions* New ( ) const
SpriteOptions& operator= ( const SpriteOptions from)
inline
float positionpercentx ( ) const
inline
float positionpercenty ( ) const
inline
google::protobuf::int32
positiontype
( ) const
inline
std::string * release_classname ( )
inline
std::string
* release_customproperty
( )
inline
std::string * release_filename ( )
inline
protocolbuffers::ResourceData
* release_filenamedata
( )
inline
protocolbuffers::LayoutParameter
* release_layoutparameter
( )
inline
std::string * release_name ( )
inline
void SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const
void set_allocated_classname ( ::std::string *  classname)
inline
void set_allocated_customproperty ( ::std::string *  customproperty)
inline
void set_allocated_filename ( ::std::string *  filename)
inline
void set_allocated_filenamedata ( ::protocolbuffers::ResourceData filenamedata)
inline
void set_allocated_layoutparameter ( ::protocolbuffers::LayoutParameter layoutparameter)
inline
void set_allocated_name ( ::std::string *  name)
inline
void set_classname ( const ::std::string &  value)
inline
void set_classname ( const char *  value)
inline
void set_classname ( const char *  value,
size_t  size 
)
inline
void set_customproperty ( const ::std::string &  value)
inline
void set_customproperty ( const char *  value)
inline
void set_customproperty ( const char *  value,
size_t  size 
)
inline
void set_filename ( const ::std::string &  value)
inline
void set_filename ( const char *  value)
inline
void set_filename ( const char *  value,
size_t  size 
)
inline
void set_flippedx ( bool  value)
inline
void set_flippedy ( bool  value)
inline
void set_ignoresize ( bool  value)
inline
void set_name ( const ::std::string &  value)
inline
void set_name ( const char *  value)
inline
void set_name ( const char *  value,
size_t  size 
)
inline
void set_positionpercentx ( float  value)
inline
void set_positionpercenty ( float  value)
inline
void set_positiontype ( ::google::protobuf::int32  value)
inline
void set_sizepercentx ( float  value)
inline
void set_sizepercenty ( float  value)
inline
void set_sizetype ( ::google::protobuf::int32  value)
inline
void set_touchable ( bool  value)
inline
void set_usemergedtexture ( bool  value)
inline
float sizepercentx ( ) const
inline
float sizepercenty ( ) const
inline
google::protobuf::int32 sizetype ( ) const
inline
void Swap ( SpriteOptions other)
bool touchable ( ) const
inline
bool usemergedtexture ( ) const
inline

Friends And Related Function Documentation

void
protobuf_AddDesc_CSParseBinary_2eproto
( )
friend
void
protobuf_AssignDesc_CSParseBinary_2eproto
( )
friend
void
protobuf_ShutdownFile_CSParseBinary_2eproto
( )
friend

Member Data Documentation

const int kClassnameFieldNumber = 2
static
const int
kCustomPropertyFieldNumber = 13
static
const int kFileNameDataFieldNumber = 17
static
const int kFileNameFieldNumber = 14
static
const int kFlippedXFieldNumber = 15
static
const int kFlippedYFieldNumber = 16
static
const int kIgnoreSizeFieldNumber = 11
static
const int
kLayoutParameterFieldNumber = 12
static
const int kNameFieldNumber = 1
static
const int
kPositionPercentXFieldNumber = 5
static
const int
kPositionPercentYFieldNumber = 6
static
const int kPositionTypeFieldNumber = 4
static
const int kSizePercentXFieldNumber = 8
static
const int kSizePercentYFieldNumber = 9
static
const int kSizeTypeFieldNumber = 7
static
const int kTouchAbleFieldNumber = 3
static
const int
kUseMergedTextureFieldNumber = 10
static

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