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

#include <CSParseBinary.pb.h>

Inheritance diagram for TextOptions:

Public Member Functions

 TextOptions ()
virtual ~TextOptions ()
 TextOptions (const TextOptions &from)
TextOptionsoperator= (const TextOptions &from)
void Swap (TextOptions *other)
TextOptionsNew () const
void CheckTypeAndMergeFrom (const ::google::protobuf::MessageLite &from)
void CopyFrom (const TextOptions &from)
void MergeFrom (const TextOptions &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_fontname () const
void clear_fontname ()
const ::std::string & fontname () const
void set_fontname (const ::std::string &value)
void set_fontname (const char *value)
void set_fontname (const char *value, size_t size)
inline::std::string * mutable_fontname ()
inline::std::string * release_fontname ()
void set_allocated_fontname (::std::string *fontname)
bool has_fontfile () const
void clear_fontfile ()
const
::protocolbuffers::ResourceData
fontfile () const
inline::protocolbuffers::ResourceData * mutable_fontfile ()
inline::protocolbuffers::ResourceData * release_fontfile ()
void set_allocated_fontfile (::protocolbuffers::ResourceData *fontfile)
bool has_fontsize () const
void clear_fontsize ()
inline::google::protobuf::int32 fontsize () const
void set_fontsize (::google::protobuf::int32 value)
bool has_text () const
void clear_text ()
const ::std::string & text () const
void set_text (const ::std::string &value)
void set_text (const char *value)
void set_text (const char *value, size_t size)
inline::std::string * mutable_text ()
inline::std::string * release_text ()
void set_allocated_text (::std::string *text)
bool has_areawidth () const
void clear_areawidth ()
float areawidth () const
void set_areawidth (float value)
bool has_areaheight () const
void clear_areaheight ()
float areaheight () const
void set_areaheight (float value)
bool has_halignment () const
void clear_halignment ()
inline::google::protobuf::int32 halignment () const
void set_halignment (::google::protobuf::int32 value)
bool has_valignment () const
void clear_valignment ()
inline::google::protobuf::int32 valignment () const
void set_valignment (::google::protobuf::int32 value)
bool has_touchscaleenable () const
void clear_touchscaleenable ()
bool touchscaleenable () const
void set_touchscaleenable (bool value)
bool has_fontresource () const
void clear_fontresource ()
const
::protocolbuffers::ResourceData
fontresource () const
inline::protocolbuffers::ResourceData * mutable_fontresource ()
inline::protocolbuffers::ResourceData * release_fontresource ()
void set_allocated_fontresource (::protocolbuffers::ResourceData *fontresource)
bool has_iscustomsize () const
void clear_iscustomsize ()
bool iscustomsize () const
void set_iscustomsize (bool value)

Static Public Member Functions

static const TextOptionsdefault_instance ()

Static Public Attributes

static const int kNameFieldNumber = 1
static const int kClassnameFieldNumber = 2
static const int kFontNameFieldNumber = 3
static const int kFontFileFieldNumber = 4
static const int kFontSizeFieldNumber = 5
static const int kTextFieldNumber = 6
static const int kAreaWidthFieldNumber = 7
static const int kAreaHeightFieldNumber = 8
static const int kHAlignmentFieldNumber = 9
static const int kVAlignmentFieldNumber = 10
static const int kTouchScaleEnableFieldNumber = 11
static const int kFontResourceFieldNumber = 12
static const int kIsCustomSizeFieldNumber = 13

Friends

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

Constructor & Destructor Documentation

virtual ~TextOptions ( )
virtual
TextOptions ( const TextOptions from)

Member Function Documentation

float areaheight ( ) const
inline
float areawidth ( ) const
inline
int ByteSize ( ) const
void CheckTypeAndMergeFrom ( const ::google::protobuf::MessageLite &  from)
const ::std::string & classname ( ) const
inline
void Clear ( )
void clear_areaheight ( )
inline
void clear_areawidth ( )
inline
void clear_classname ( )
inline
void clear_fontfile ( )
inline
void clear_fontname ( )
inline
void clear_fontresource ( )
inline
void clear_fontsize ( )
inline
void clear_halignment ( )
inline
void clear_iscustomsize ( )
inline
void clear_name ( )
inline
void clear_text ( )
inline
void clear_touchscaleenable ( )
inline
void clear_valignment ( )
inline
void CopyFrom ( const TextOptions from)
static const TextOptions&
default_instance
( )
static
const
::protocolbuffers::ResourceData
& fontfile
( ) const
inline
const ::std::string & fontname ( ) const
inline
const
::protocolbuffers::ResourceData
& fontresource
( ) const
inline
google::protobuf::int32 fontsize ( ) const
inline
int GetCachedSize ( ) const
inline
::std::string GetTypeName ( ) const
google::protobuf::int32 halignment ( ) const
inline
bool has_areaheight ( ) const
inline
bool has_areawidth ( ) const
inline
bool has_classname ( ) const
inline
bool has_fontfile ( ) const
inline
bool has_fontname ( ) const
inline
bool has_fontresource ( ) const
inline
bool has_fontsize ( ) const
inline
bool has_halignment ( ) const
inline
bool has_iscustomsize ( ) const
inline
bool has_name ( ) const
inline
bool has_text ( ) const
inline
bool has_touchscaleenable ( ) const
inline
bool has_valignment ( ) const
inline
bool iscustomsize ( ) const
inline
bool IsInitialized ( ) const
void MergeFrom ( const TextOptions from)
bool MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)
std::string * mutable_classname ( )
inline
protocolbuffers::ResourceData
* mutable_fontfile
( )
inline
std::string * mutable_fontname ( )
inline
protocolbuffers::ResourceData
* mutable_fontresource
( )
inline
std::string * mutable_name ( )
inline
std::string * mutable_text ( )
inline
const ::std::string & name ( ) const
inline
TextOptions* New ( ) const
TextOptions& operator= ( const TextOptions from)
inline
std::string * release_classname ( )
inline
protocolbuffers::ResourceData
* release_fontfile
( )
inline
std::string * release_fontname ( )
inline
protocolbuffers::ResourceData
* release_fontresource
( )
inline
std::string * release_name ( )
inline
std::string * release_text ( )
inline
void SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const
void set_allocated_classname ( ::std::string *  classname)
inline
void set_allocated_fontfile ( ::protocolbuffers::ResourceData fontfile)
inline
void set_allocated_fontname ( ::std::string *  fontname)
inline
void set_allocated_fontresource ( ::protocolbuffers::ResourceData fontresource)
inline
void set_allocated_name ( ::std::string *  name)
inline
void set_allocated_text ( ::std::string *  text)
inline
void set_areaheight ( float  value)
inline
void set_areawidth ( float  value)
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_fontname ( const ::std::string &  value)
inline
void set_fontname ( const char *  value)
inline
void set_fontname ( const char *  value,
size_t  size 
)
inline
void set_fontsize ( ::google::protobuf::int32  value)
inline
void set_halignment ( ::google::protobuf::int32  value)
inline
void set_iscustomsize ( 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_text ( const ::std::string &  value)
inline
void set_text ( const char *  value)
inline
void set_text ( const char *  value,
size_t  size 
)
inline
void set_touchscaleenable ( bool  value)
inline
void set_valignment ( ::google::protobuf::int32  value)
inline
void Swap ( TextOptions other)
const ::std::string & text ( ) const
inline
bool touchscaleenable ( ) const
inline
google::protobuf::int32 valignment ( ) 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 kAreaHeightFieldNumber = 8
static
const int kAreaWidthFieldNumber = 7
static
const int kClassnameFieldNumber = 2
static
const int kFontFileFieldNumber = 4
static
const int kFontNameFieldNumber = 3
static
const int kFontResourceFieldNumber = 12
static
const int kFontSizeFieldNumber = 5
static
const int kHAlignmentFieldNumber = 9
static
const int kIsCustomSizeFieldNumber = 13
static
const int kNameFieldNumber = 1
static
const int kTextFieldNumber = 6
static
const int
kTouchScaleEnableFieldNumber = 11
static
const int kVAlignmentFieldNumber = 10
static

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