geStrBlock

Description: String block interface.

Source file: …\genesis3d\OpenSource\Source\Actor\strblock.h

Contents:

Functions: Create, Destroy, Append, Delete, GetString, SetString, Insert, FindString, GetCount, GetChecksum, CreateFromFile, WriteToFile, WriteToBinaryFile

Types: geStrBlock

Additons for Genesis3D v1.6: None

 

Types: 

typedef struct geStrBlock geStrBlock;

NOTE: The contents of this structure have been intentionally left out of the interface, by the designers of this module. Think of this as a handle only.

Return to Contents

Functions:

geStrBlock* GENESISCC geStrBlock_Create(void);

 

Return to Contents

void GENESISCC geStrBlock_Destroy(geStrBlock** SB);

 

Return to Contents

geBoolean GENESISCC geStrBlock_Append(geStrBlock** ppSB, const char * String);

 

Return to Contents

void GENESISCC geStrBlock_Delete(geStrBlock** ppSB, int Nth);

 

Return to Contents

const char * GENESISCC geStrBlock_GetString(const geStrBlock* SB, int Index);

 

Return to Contents

// geBoolean GENESISCC geStrBlock_SetString(geStrBlock** ppSB, int Index, const char * String);

// This code is available in strblock.c, but it is currently commented out. To use, remove comments, but be sure to test first!

 

Return to Contents

// geBoolean GENESISCC geStrBlock_Insert(geStrBlock** ppSB, int InsertAfterIndex, const char * String);

// This code is available in strblock.c, but it is currently commented out. To use, remove comments, but be sure to test first!

 

Return to Contents

geBoolean GENESISCC geStrBlock_FindString(const geStrBlock* pSB, const char * String, int * pIndex);

 

Return to Contents

int GENESISCC geStrBlock_GetCount(const geStrBlock* SB);

Return to Contents

int GENESISCC geStrBlock_GetChecksum(const geStrBlock* SB);

 

Return to Contents

geStrBlock* GENESISCC geStrBlock_CreateFromFile(geVFile* pFile);

 

Return to Contents

geBoolean GENESISCC geStrBlock_WriteToFile(const geStrBlock* SB, geVFile* pFile);

 

Return to Contents

geBoolean GENESISCC geStrBlock_WriteToBinaryFile(const geStrBlock* SB, geVFile* pFile);

 
Return to Contents