StrClass.h File Reference

#include "Macros.h"
#include "Allocate.h"

Include dependency graph for StrClass.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  String

Defines

#define STRINGALLOC(baz)   (char *)AllocString((size_t)baz )
#define STRINGFREE(baz)   {if (baz){FreeString( baz );baz=NULL;}}
#define STRINGSIZE   255
#define periodch   '.'
#define periodch_r   ((char)255)
#define pathch_r   ((char)254)
#define quotech   '\"'
#define NATIVESEPARATOR   '\\'

Enumerations

enum  {
  UNIT_NONE, UNIT_CENTIMETERS, UNIT_METERS, UNIT_FEET,
  UNIT_INCHES, UNIT_FEETANDINCHES, UNIT_PERCENTAGE, UNIT_ANGLE,
  UNIT_SMPTE, UNIT_FRAMES
}

Functions

String operator+ (const String &left, const String &right)
FILEIOEXPORT String FormatTime (LONG sec, BOOL force=FALSE)
void StripOffName (String &)
FILEIOEXPORT void AddNameToPath (String &, const String &)
FILEIOEXPORT String CombineNameToPath (const String &path, const String &name)
FILEIOEXPORT String AddNameToExeDirectory (String name)
FILEIOEXPORT String AddNameToDataDirectory (String name)
FILEIOEXPORT void FreeAppPath ()
FILEIOEXPORT void AFXAPI DDX_Text (CDataExchange *pDX, int nIDC, String &value)
FILEIOEXPORT String NativeToUniversal (const String &nativepath)
FILEIOEXPORT String UniversalToNative (const String &puniversalpath)
PLUGINEXPORT int GetMeasurementUnits ()
PLUGINEXPORT void SetMeasurementUnits (int pmeasurementunits)
PLUGINEXPORT CString UnitToString (float cm, int pmeasurementunits=-1, int fps=-1, float modulo=.01f)
PLUGINEXPORT void AFXAPI DDX_Unit (CDataExchange *pDX, int nIDC, float &cm)
PLUGINEXPORT void AFXAPI DDV_MinMaxUnit (CDataExchange *pDX, float const &value, float minVal, float maxVal)


Define Documentation

#define NATIVESEPARATOR   '\\'
 

Definition at line 30 of file StrClass.h.

#define pathch_r   ((char)254)
 

Definition at line 22 of file StrClass.h.

#define periodch   '.'
 

Definition at line 20 of file StrClass.h.

#define periodch_r   ((char)255)
 

Definition at line 21 of file StrClass.h.

#define quotech   '\"'
 

Definition at line 23 of file StrClass.h.

#define STRINGALLOC baz   )     (char *)AllocString((size_t)baz )
 

Definition at line 16 of file StrClass.h.

Referenced by String::operator=(), String::Set(), and String::String().

#define STRINGFREE baz   )     {if (baz){FreeString( baz );baz=NULL;}}
 

Definition at line 17 of file StrClass.h.

Referenced by String::Empty(), String::operator=(), String::Set(), and String::~String().

#define STRINGSIZE   255
 

Definition at line 18 of file StrClass.h.

Referenced by Registration::Registration().


Enumeration Type Documentation

anonymous enum
 

Enumerator:
UNIT_NONE 
UNIT_CENTIMETERS 
UNIT_METERS 
UNIT_FEET 
UNIT_INCHES 
UNIT_FEETANDINCHES 
UNIT_PERCENTAGE 
UNIT_ANGLE 
UNIT_SMPTE 
UNIT_FRAMES 

Definition at line 315 of file StrClass.h.


Function Documentation

FILEIOEXPORT String AddNameToDataDirectory String  name  ) 
 

FILEIOEXPORT String AddNameToExeDirectory String  name  ) 
 

FILEIOEXPORT void AddNameToPath String ,
const String
 

FILEIOEXPORT String CombineNameToPath const String path,
const String name
 

PLUGINEXPORT void AFXAPI DDV_MinMaxUnit CDataExchange *  pDX,
float const &  value,
float  minVal,
float  maxVal
 

FILEIOEXPORT void AFXAPI DDX_Text CDataExchange *  pDX,
int  nIDC,
String value
 

PLUGINEXPORT void AFXAPI DDX_Unit CDataExchange *  pDX,
int  nIDC,
float &  cm
 

FILEIOEXPORT String FormatTime LONG  sec,
BOOL  force = FALSE
 

FILEIOEXPORT void FreeAppPath  ) 
 

PLUGINEXPORT int GetMeasurementUnits  ) 
 

FILEIOEXPORT String NativeToUniversal const String nativepath  ) 
 

String operator+ const String left,
const String right
[inline]
 

Definition at line 266 of file StrClass.h.

Referenced by String::operator!=().

PLUGINEXPORT void SetMeasurementUnits int  pmeasurementunits  ) 
 

void StripOffName String  ) 
 

PLUGINEXPORT CString UnitToString float  cm,
int  pmeasurementunits = -1,
int  fps = -1,
float  modulo = .01f
 

FILEIOEXPORT String UniversalToNative const String puniversalpath  ) 
 


This A:M SDK v12.0 documentation is maintained by Hash Inc. Please address any comments concerning this documentation to AMReports. If you have any information, knowledge, or documentation to share with the A:M developer community, please post them on the Hash SDK forum.

Generated on Thu Oct 27 11:46:50 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001