private

Description

internals

Public Types

   
   
enum dataType_t {RAW, ASCII, UNKNOWN_UNICODE, UNICODE_WITH_LENGTH, UNICODE_WITH_JUMTABLE}

Public Attributes

   
   
std::string s
   
int referenceCounter
   
enum EScript::StringData::Data::dataType_t dataType
   
std::unique_ptr< std::vector< size_t > > jumpTable
jumpTable[i] := strPos of codePoint( (i+1)*JUMP_TABLE_STEP_SIZE)
   
size_t numCodePoints

Public Functions

   
   
  Data(const std::string & _s, dataType_t t)
   
  Data(const char * c, size_t size, dataType_t t)
   
  Data(Data && void)
   
  Data(const Data & void)
   
void initJumpTable()

Documentation

enum
EScript::StringData::Data::dataType_t

public
 
 
enum dataType_t
Enumerator   Description
Enumerator   Description
RAW    
ASCII    
UNKNOWN_UNICODE    
UNICODE_WITH_LENGTH    
UNICODE_WITH_JUMTABLE    

Defined in EScript/EScript/Utils/StringData.h:27


variable
EScript::StringData::Data::s

public
 
 
std::string s

Defined in EScript/EScript/Utils/StringData.h:25


variable
EScript::StringData::Data::referenceCounter

public
 
 
int referenceCounter

Defined in EScript/EScript/Utils/StringData.h:26


variable
EScript::StringData::Data::dataType

public
 
 
enum EScript::StringData::Data::dataType_t dataType

Defined in EScript/EScript/Utils/StringData.h:34


variable
EScript::StringData::Data::jumpTable

public
 
 
std::unique_ptr< std::vector< size_t > > jumpTable

jumpTable[i] := strPos of codePoint( (i+1)*JUMP_TABLE_STEP_SIZE)

Defined in EScript/EScript/Utils/StringData.h:35


variable
EScript::StringData::Data::numCodePoints

public
 
 
size_t numCodePoints

Defined in EScript/EScript/Utils/StringData.h:36


function
EScript::StringData::Data::Data

public inline
     
     
Data( const std::string & _s,
  dataType_t t
)    

Defined in EScript/EScript/Utils/StringData.h:38


function
EScript::StringData::Data::Data

public inline
     
     
Data( const char * c,
  size_t size,
  dataType_t t
)    

Defined in EScript/EScript/Utils/StringData.h:40


function
EScript::StringData::Data::Data

public
     
     
Data( Data && void )

Defined in EScript/EScript/Utils/StringData.h:42


function
EScript::StringData::Data::Data

public
     
     
Data( const Data & void )

Defined in EScript/EScript/Utils/StringData.h:43


function
EScript::StringData::Data::initJumpTable

public
   
   
void initJumpTable( )

Defined in EScript/EScript/Utils/StringData.h:44