TOP --> CcDoc
- class CCcDocStringRep
String repository.
- Author:
-
Joe Linoff
- Version:
-
$Id: ccdocstringrep.h,v 1.4 1999/06/12 18:10:33 jdl Exp $
- Source:
-
../../ccdoc/src/ccdocstringrep.h:28
- Create
- [public] Create a string repository.
- Destroy
- [public] Destroys the specified string repository.
- GetNumEntries
- [public] Get the number of strings in the repository.
- GetString
- [public] Get the string associated with a handle.
- GetStringId
- [public] Get the handle associated with a string.
- IsDebug
- [public] Are we in debug mode? This occurs when the CCDOC_STRINGMAP_DEBUG
environment variable is set.
Create
public static void Create ( ) ;
Create a string repository.
Destroy
public static void Destroy ( ) ;
Destroys the specified string repository.
GetStringId
public static long GetStringId ( const char * string ) ;
Get the handle associated with a string.
- Parameters:
-
- Return:
-
The handle associated with a string.
GetString
public static const char * GetString ( long id ) ;
Get the string associated with a handle.
- Parameters:
-
- Return:
-
The associated string.
GetNumEntries
public static long GetNumEntries ( ) ;
Get the number of strings in the repository.
- Return:
-
The number of strings.
IsDebug
public static bool IsDebug ( ) ;
Are we in debug mode? This occurs when the CCDOC_STRINGMAP_DEBUG
environment variable is set.
- Return:
-
True if we are in debug mode or false otherwise.
This documentation was generated automatically by the ccdoc tool (version 0.7a).
Click here to submit a bug report or feature request.
Click here to return to the top of the page.
|