OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
StdStringAdapt Struct Reference

#include <StdAdaptors.h>

Public Member Functions

 StdStringAdapt (char *szString, int iMaxLength, StdCompiler::RawCompileType eRawType=StdCompiler::RCT_Escaped)
 
void CompileFunc (StdCompiler *pComp) const
 
bool operator== (const char *szDefault) const
 
StdStringAdaptoperator= (const char *szDefault)
 

Public Attributes

char * szString
 
int iMaxLength
 
StdCompiler::RawCompileType eRawType
 

Detailed Description

Definition at line 176 of file StdAdaptors.h.

Constructor & Destructor Documentation

StdStringAdapt::StdStringAdapt ( char *  szString,
int  iMaxLength,
StdCompiler::RawCompileType  eRawType = StdCompiler::RCT_Escaped 
)
inline

Definition at line 179 of file StdAdaptors.h.

StdCompiler::RawCompileType eRawType
Definition: StdAdaptors.h:178

Member Function Documentation

void StdStringAdapt::CompileFunc ( StdCompiler pComp) const
inline

Definition at line 181 of file StdAdaptors.h.

References StdCompiler::String().

182  {
184  }
virtual void String(char *szString, size_t iMaxLength, RawCompileType eType=RCT_Escaped)=0
StdCompiler::RawCompileType eRawType
Definition: StdAdaptors.h:178

Here is the call graph for this function:

StdStringAdapt& StdStringAdapt::operator= ( const char *  szDefault)
inline

Definition at line 186 of file StdAdaptors.h.

References SCopy().

186 { SCopy(szDefault, szString, iMaxLength); return *this; }
void SCopy(const char *szSource, char *sTarget, size_t iMaxL)
Definition: Standard.cpp:122

Here is the call graph for this function:

bool StdStringAdapt::operator== ( const char *  szDefault) const
inline

Definition at line 185 of file StdAdaptors.h.

References SEqual().

185 { return SEqual(szString, szDefault); }
bool SEqual(const char *szStr1, const char *szStr2)
Definition: Standard.h:97

Here is the call graph for this function:

Member Data Documentation

StdCompiler::RawCompileType StdStringAdapt::eRawType

Definition at line 178 of file StdAdaptors.h.

int StdStringAdapt::iMaxLength

Definition at line 178 of file StdAdaptors.h.

char* StdStringAdapt::szString

Definition at line 178 of file StdAdaptors.h.


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