Public Types | Public Member Functions | Public Attributes

Tiny2D::Localization::Param Struct Reference

Parameter value description within localized text. More...

#include <Tiny2D.h>

List of all members.

Public Types

enum  Type { Type_Int = 0, Type_String, Type_Uninitialized, Type_COUNT }
 

Localization parameter type.

More...

Public Member Functions

 Param ()
 Constructs uninitialized localization parameter.
 Param (const std::string &name, int value)
 Constructs int localization paramter.
 Param (const std::string &name, const char *value)
 Constructs string localization paramter.
 Param (const std::string &name, const std::string &value)
 Constructs string localization paramter.

Public Attributes

std::string name
Type type
 Parameter type.
int intValue
 Integer value.
std::string stringValue
 String value.

Detailed Description

Parameter value description within localized text.


Member Enumeration Documentation

Localization parameter type.

Enumerator:
Type_Int 

Integer type of the localization parameter.

Type_String 

String type of the localization parameter.

Type_Uninitialized 

Uninitialized type of the localization parameter.

Type_COUNT 

Constructor & Destructor Documentation

Tiny2D::Localization::Param::Param (  )

Constructs uninitialized localization parameter.

Tiny2D::Localization::Param::Param ( const std::string &  name,
int  value 
)

Constructs int localization paramter.

Tiny2D::Localization::Param::Param ( const std::string &  name,
const char *  value 
)

Constructs string localization paramter.

Tiny2D::Localization::Param::Param ( const std::string &  name,
const std::string &  value 
)

Constructs string localization paramter.


Member Data Documentation

Integer value.

Parameter name

String value.

Parameter type.


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