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

#include <CSParseBinary.pb.h>

Inheritance diagram for WidgetOptions:

Public Member Functions

 WidgetOptions ()
virtual ~WidgetOptions ()
 WidgetOptions (const WidgetOptions &from)
WidgetOptionsoperator= (const WidgetOptions &from)
void Swap (WidgetOptions *other)
WidgetOptionsNew () const
void CheckTypeAndMergeFrom (const ::google::protobuf::MessageLite &from)
void CopyFrom (const WidgetOptions &from)
void MergeFrom (const WidgetOptions &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_x () const
void clear_x ()
float x () const
void set_x (float value)
bool has_y () const
void clear_y ()
float y () const
void set_y (float value)
bool has_scalex () const
void clear_scalex ()
float scalex () const
void set_scalex (float value)
bool has_scaley () const
void clear_scaley ()
float scaley () const
void set_scaley (float value)
bool has_rotation () const
void clear_rotation ()
float rotation () const
void set_rotation (float value)
bool has_flipx () const
void clear_flipx ()
bool flipx () const
void set_flipx (bool value)
bool has_flipy () const
void clear_flipy ()
bool flipy () const
void set_flipy (bool value)
bool has_colorb () const
void clear_colorb ()
inline::google::protobuf::int32 colorb () const
void set_colorb (::google::protobuf::int32 value)
bool has_colorg () const
void clear_colorg ()
inline::google::protobuf::int32 colorg () const
void set_colorg (::google::protobuf::int32 value)
bool has_colorr () const
void clear_colorr ()
inline::google::protobuf::int32 colorr () const
void set_colorr (::google::protobuf::int32 value)
bool has_opacity () const
void clear_opacity ()
inline::google::protobuf::int32 opacity () const
void set_opacity (::google::protobuf::int32 value)
bool has_touchable () const
void clear_touchable ()
bool touchable () const
void set_touchable (bool value)
bool has_visible () const
void clear_visible ()
bool visible () const
void set_visible (bool value)
bool has_zorder () const
void clear_zorder ()
inline::google::protobuf::int32 zorder () const
void set_zorder (::google::protobuf::int32 value)
bool has_classtype () const
void clear_classtype ()
const ::std::string & classtype () const
void set_classtype (const ::std::string &value)
void set_classtype (const char *value)
void set_classtype (const char *value, size_t size)
inline::std::string * mutable_classtype ()
inline::std::string * release_classtype ()
void set_allocated_classtype (::std::string *classtype)
bool has_width () const
void clear_width ()
float width () const
void set_width (float value)
bool has_height () const
void clear_height ()
float height () const
void set_height (float 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_actiontag () const
void clear_actiontag ()
inline::google::protobuf::int32 actiontag () const
void set_actiontag (::google::protobuf::int32 value)
bool has_tag () const
void clear_tag ()
inline::google::protobuf::int32 tag () const
void set_tag (::google::protobuf::int32 value)
bool has_anchorpointx () const
void clear_anchorpointx ()
float anchorpointx () const
void set_anchorpointx (float value)
bool has_anchorpointy () const
void clear_anchorpointy ()
float anchorpointy () const
void set_anchorpointy (float value)
bool has_ignoresize () const
void clear_ignoresize ()
bool ignoresize () const
void set_ignoresize (bool value)
bool has_rotationskewx () const
void clear_rotationskewx ()
float rotationskewx () const
void set_rotationskewx (float value)
bool has_rotationskewy () const
void clear_rotationskewy ()
float rotationskewy () const
void set_rotationskewy (float 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_frameevent () const
void clear_frameevent ()
const ::std::string & frameevent () const
void set_frameevent (const ::std::string &value)
void set_frameevent (const char *value)
void set_frameevent (const char *value, size_t size)
inline::std::string * mutable_frameevent ()
inline::std::string * release_frameevent ()
void set_allocated_frameevent (::std::string *frameevent)
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_alpha () const
void clear_alpha ()
inline::google::protobuf::int32 alpha () const
void set_alpha (::google::protobuf::int32 value)
int componentoptions_size () const
void clear_componentoptions ()
const
::protocolbuffers::ComponentOptions
componentoptions (int index) const
inline::protocolbuffers::ComponentOptions * mutable_componentoptions (int index)
inline::protocolbuffers::ComponentOptions * add_componentoptions ()
const
::google::protobuf::RepeatedPtrField
< ::protocolbuffers::ComponentOptions > & 
componentoptions () const
inline::google::protobuf::RepeatedPtrField
< ::protocolbuffers::ComponentOptions > * 
mutable_componentoptions ()

Static Public Member Functions

static const WidgetOptionsdefault_instance ()

Static Public Attributes

static const int kXFieldNumber = 1
static const int kYFieldNumber = 2
static const int kScaleXFieldNumber = 3
static const int kScaleYFieldNumber = 4
static const int kRotationFieldNumber = 5
static const int kFlipXFieldNumber = 6
static const int kFlipYFieldNumber = 7
static const int kColorBFieldNumber = 8
static const int kColorGFieldNumber = 9
static const int kColorRFieldNumber = 10
static const int kOpacityFieldNumber = 11
static const int kTouchAbleFieldNumber = 12
static const int kVisibleFieldNumber = 13
static const int kZorderFieldNumber = 14
static const int kClassTypeFieldNumber = 15
static const int kWidthFieldNumber = 16
static const int kHeightFieldNumber = 17
static const int kPositionTypeFieldNumber = 18
static const int kPositionPercentXFieldNumber = 19
static const int kPositionPercentYFieldNumber = 20
static const int kSizeTypeFieldNumber = 21
static const int kSizePercentXFieldNumber = 22
static const int kSizePercentYFieldNumber = 23
static const int kUseMergedTextureFieldNumber = 24
static const int kActionTagFieldNumber = 25
static const int kTagFieldNumber = 26
static const int kAnchorPointXFieldNumber = 27
static const int kAnchorPointYFieldNumber = 28
static const int kIgnoreSizeFieldNumber = 29
static const int kRotationSkewXFieldNumber = 30
static const int kRotationSkewYFieldNumber = 31
static const int kLayoutParameterFieldNumber = 32
static const int kCustomPropertyFieldNumber = 33
static const int kFrameEventFieldNumber = 34
static const int kNameFieldNumber = 35
static const int kAlphaFieldNumber = 37
static const int kComponentOptionsFieldNumber = 36

Friends

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

Constructor & Destructor Documentation

virtual ~WidgetOptions ( )
virtual
WidgetOptions ( const WidgetOptions from)

Member Function Documentation

google::protobuf::int32 actiontag ( ) const
inline
protocolbuffers::ComponentOptions
* add_componentoptions
( )
inline
google::protobuf::int32 alpha ( ) const
inline
float anchorpointx ( ) const
inline
float anchorpointy ( ) const
inline
int ByteSize ( ) const
void CheckTypeAndMergeFrom ( const ::google::protobuf::MessageLite &  from)
const ::std::string & classtype ( ) const
inline
void Clear ( )
void clear_actiontag ( )
inline
void clear_alpha ( )
inline
void clear_anchorpointx ( )
inline
void clear_anchorpointy ( )
inline
void clear_classtype ( )
inline
void clear_colorb ( )
inline
void clear_colorg ( )
inline
void clear_colorr ( )
inline
void clear_componentoptions ( )
inline
void clear_customproperty ( )
inline
void clear_flipx ( )
inline
void clear_flipy ( )
inline
void clear_frameevent ( )
inline
void clear_height ( )
inline
void clear_ignoresize ( )
inline
void clear_layoutparameter ( )
inline
void clear_name ( )
inline
void clear_opacity ( )
inline
void clear_positionpercentx ( )
inline
void clear_positionpercenty ( )
inline
void clear_positiontype ( )
inline
void clear_rotation ( )
inline
void clear_rotationskewx ( )
inline
void clear_rotationskewy ( )
inline
void clear_scalex ( )
inline
void clear_scaley ( )
inline
void clear_sizepercentx ( )
inline
void clear_sizepercenty ( )
inline
void clear_sizetype ( )
inline
void clear_tag ( )
inline
void clear_touchable ( )
inline
void clear_usemergedtexture ( )
inline
void clear_visible ( )
inline
void clear_width ( )
inline
void clear_x ( )
inline
void clear_y ( )
inline
void clear_zorder ( )
inline
google::protobuf::int32 colorb ( ) const
inline
google::protobuf::int32 colorg ( ) const
inline
google::protobuf::int32 colorr ( ) const
inline
const
::protocolbuffers::ComponentOptions
& componentoptions
( int  index) const
inline
const
::google::protobuf::RepeatedPtrField
<::protocolbuffers::ComponentOptions >
& componentoptions
( ) const
inline
int componentoptions_size ( ) const
inline
void CopyFrom ( const WidgetOptions from)
const ::std::string
& customproperty
( ) const
inline
static const WidgetOptions&
default_instance
( )
static
bool flipx ( ) const
inline
bool flipy ( ) const
inline
const ::std::string & frameevent ( ) const
inline
int GetCachedSize ( ) const
inline
::std::string GetTypeName ( ) const
bool has_actiontag ( ) const
inline
bool has_alpha ( ) const
inline
bool has_anchorpointx ( ) const
inline
bool has_anchorpointy ( ) const
inline
bool has_classtype ( ) const
inline
bool has_colorb ( ) const
inline
bool has_colorg ( ) const
inline
bool has_colorr ( ) const
inline
bool has_customproperty ( ) const
inline
bool has_flipx ( ) const
inline
bool has_flipy ( ) const
inline
bool has_frameevent ( ) const
inline
bool has_height ( ) const
inline
bool has_ignoresize ( ) const
inline
bool has_layoutparameter ( ) const
inline
bool has_name ( ) const
inline
bool has_opacity ( ) const
inline
bool has_positionpercentx ( ) const
inline
bool has_positionpercenty ( ) const
inline
bool has_positiontype ( ) const
inline
bool has_rotation ( ) const
inline
bool has_rotationskewx ( ) const
inline
bool has_rotationskewy ( ) const
inline
bool has_scalex ( ) const
inline
bool has_scaley ( ) const
inline
bool has_sizepercentx ( ) const
inline
bool has_sizepercenty ( ) const
inline
bool has_sizetype ( ) const
inline
bool has_tag ( ) const
inline
bool has_touchable ( ) const
inline
bool has_usemergedtexture ( ) const
inline
bool has_visible ( ) const
inline
bool has_width ( ) const
inline
bool has_x ( ) const
inline
bool has_y ( ) const
inline
bool has_zorder ( ) const
inline
float height ( ) const
inline
bool ignoresize ( ) const
inline
bool IsInitialized ( ) const
const
::protocolbuffers::LayoutParameter
& layoutparameter
( ) const
inline
void MergeFrom ( const WidgetOptions from)
bool MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)
std::string * mutable_classtype ( )
inline
protocolbuffers::ComponentOptions
* mutable_componentoptions
( int  index)
inline
google::protobuf::RepeatedPtrField
<::protocolbuffers::ComponentOptions >
* mutable_componentoptions
( )
inline
std::string
* mutable_customproperty
( )
inline
std::string * mutable_frameevent ( )
inline
protocolbuffers::LayoutParameter
* mutable_layoutparameter
( )
inline
std::string * mutable_name ( )
inline
const ::std::string & name ( ) const
inline
WidgetOptions* New ( ) const
google::protobuf::int32 opacity ( ) const
inline
WidgetOptions& operator= ( const WidgetOptions from)
inline
float positionpercentx ( ) const
inline
float positionpercenty ( ) const
inline
google::protobuf::int32
positiontype
( ) const
inline
std::string * release_classtype ( )
inline
std::string
* release_customproperty
( )
inline
std::string * release_frameevent ( )
inline
protocolbuffers::LayoutParameter
* release_layoutparameter
( )
inline
std::string * release_name ( )
inline
float rotation ( ) const
inline
float rotationskewx ( ) const
inline
float rotationskewy ( ) const
inline
float scalex ( ) const
inline
float scaley ( ) const
inline
void SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const
void set_actiontag ( ::google::protobuf::int32  value)
inline
void set_allocated_classtype ( ::std::string *  classtype)
inline
void set_allocated_customproperty ( ::std::string *  customproperty)
inline
void set_allocated_frameevent ( ::std::string *  frameevent)
inline
void set_allocated_layoutparameter ( ::protocolbuffers::LayoutParameter layoutparameter)
inline
void set_allocated_name ( ::std::string *  name)
inline
void set_alpha ( ::google::protobuf::int32  value)
inline
void set_anchorpointx ( float  value)
inline
void set_anchorpointy ( float  value)
inline
void set_classtype ( const ::std::string &  value)
inline
void set_classtype ( const char *  value)
inline
void set_classtype ( const char *  value,
size_t  size 
)
inline
void set_colorb ( ::google::protobuf::int32  value)
inline
void set_colorg ( ::google::protobuf::int32  value)
inline
void set_colorr ( ::google::protobuf::int32  value)
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_flipx ( bool  value)
inline
void set_flipy ( bool  value)
inline
void set_frameevent ( const ::std::string &  value)
inline
void set_frameevent ( const char *  value)
inline
void set_frameevent ( const char *  value,
size_t  size 
)
inline
void set_height ( float  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_opacity ( ::google::protobuf::int32  value)
inline
void set_positionpercentx ( float  value)
inline
void set_positionpercenty ( float  value)
inline
void set_positiontype ( ::google::protobuf::int32  value)
inline
void set_rotation ( float  value)
inline
void set_rotationskewx ( float  value)
inline
void set_rotationskewy ( float  value)
inline
void set_scalex ( float  value)
inline
void set_scaley ( float  value)
inline
void set_sizepercentx ( float  value)
inline
void set_sizepercenty ( float  value)
inline
void set_sizetype ( ::google::protobuf::int32  value)
inline
void set_tag ( ::google::protobuf::int32  value)
inline
void set_touchable ( bool  value)
inline
void set_usemergedtexture ( bool  value)
inline
void set_visible ( bool  value)
inline
void set_width ( float  value)
inline
void set_x ( float  value)
inline
void set_y ( float  value)
inline
void set_zorder ( ::google::protobuf::int32  value)
inline
float sizepercentx ( ) const
inline
float sizepercenty ( ) const
inline
google::protobuf::int32 sizetype ( ) const
inline
void Swap ( WidgetOptions other)
google::protobuf::int32 tag ( ) const
inline
bool touchable ( ) const
inline
bool usemergedtexture ( ) const
inline
bool visible ( ) const
inline
float width ( ) const
inline
float x ( ) const
inline
float y ( ) const
inline
google::protobuf::int32 zorder ( ) 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 kActionTagFieldNumber = 25
static
const int kAlphaFieldNumber = 37
static
const int kAnchorPointXFieldNumber = 27
static
const int kAnchorPointYFieldNumber = 28
static
const int kClassTypeFieldNumber = 15
static
const int kColorBFieldNumber = 8
static
const int kColorGFieldNumber = 9
static
const int kColorRFieldNumber = 10
static
const int
kComponentOptionsFieldNumber = 36
static
const int
kCustomPropertyFieldNumber = 33
static
const int kFlipXFieldNumber = 6
static
const int kFlipYFieldNumber = 7
static
const int kFrameEventFieldNumber = 34
static
const int kHeightFieldNumber = 17
static
const int kIgnoreSizeFieldNumber = 29
static
const int
kLayoutParameterFieldNumber = 32
static
const int kNameFieldNumber = 35
static
const int kOpacityFieldNumber = 11
static
const int
kPositionPercentXFieldNumber = 19
static
const int
kPositionPercentYFieldNumber = 20
static
const int kPositionTypeFieldNumber = 18
static
const int kRotationFieldNumber = 5
static
const int kRotationSkewXFieldNumber = 30
static
const int kRotationSkewYFieldNumber = 31
static
const int kScaleXFieldNumber = 3
static
const int kScaleYFieldNumber = 4
static
const int kSizePercentXFieldNumber = 22
static
const int kSizePercentYFieldNumber = 23
static
const int kSizeTypeFieldNumber = 21
static
const int kTagFieldNumber = 26
static
const int kTouchAbleFieldNumber = 12
static
const int
kUseMergedTextureFieldNumber = 24
static
const int kVisibleFieldNumber = 13
static
const int kWidthFieldNumber = 16
static
const int kXFieldNumber = 1
static
const int kYFieldNumber = 2
static
const int kZorderFieldNumber = 14
static

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