VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Protected Attributes
makVrv::DtDeError Class Reference

The DtDeError instance. More...

List of all members.

Public Types

enum  ErrorCode {
  Error_Generic, Error_UnhandledException, Error_ReadingFile, Error_WritingFile,
  Error_DeletingFile, Error_NoFactorySettings, Error_LoadingFeatureFile, Error_LoadingTerrainFile,
  Error_ModelDefinitionDoesNotExist, Error_UnsupportedScreenResolution, Error_NumExtractedPropsDoesntMatchNumPropRecords, Error_IgnoringPropWithInvalidPosition,
  Error_ConfigWithNameAlreadyExists, Error_FileNotFound, Error_UnableToLoadDriverFile, Error_UnableToRealizeModel,
  Error_UnableToCheckoutSlaveLicense, Error_NoDataDirFound, end_ErrorCode
}

Public Member Functions

 DtDeError (ErrorCode code)
 CTOR.
 DtDeError (const DtDeError &orig)
 Copy CTOR.
 ~DtDeError ()
 DTOR.
DtDeErroroperator<< (const std::string &param)
 Append a parameter string.
DtDeErroroperator<< (unsigned int param)
 Append an integer parameter as a string.
DtDeErroroperator<< (int param)
ErrorCode errorCode () const
 Get the error code.
const std::vector< std::string > & errorParameters () const
 Get the error parameters.
const std::string & parameter (unsigned int index) const
 Get a string for a particular parameter, or return the empty parameter string.

Protected Attributes

ErrorCode myErrorCode
std::vector< std::string > myErrorParameters
std::string myEmptyParameter

Detailed Description

The DtDeError instance.


Member Enumeration Documentation

Enumerator:
Error_Generic 
Error_UnhandledException 

1 parameter, a string.

Error_ReadingFile 

1 parameter, a string.

Error_WritingFile 
Error_DeletingFile 
Error_NoFactorySettings 
Error_LoadingFeatureFile 
Error_LoadingTerrainFile 
Error_ModelDefinitionDoesNotExist 
Error_UnsupportedScreenResolution 
Error_NumExtractedPropsDoesntMatchNumPropRecords 
Error_IgnoringPropWithInvalidPosition 
Error_ConfigWithNameAlreadyExists 
Error_FileNotFound 
Error_UnableToLoadDriverFile 
Error_UnableToRealizeModel 
Error_UnableToCheckoutSlaveLicense 
Error_NoDataDirFound 
end_ErrorCode 

Constructor & Destructor Documentation

CTOR.

Copy CTOR.

DTOR.


Member Function Documentation

DtDeError& makVrv::DtDeError::operator<< ( const std::string &  param)

Append a parameter string.

DtDeError& makVrv::DtDeError::operator<< ( unsigned int  param)

Append an integer parameter as a string.

DtDeError& makVrv::DtDeError::operator<< ( int  param)

Get the error code.

const std::vector<std::string>& makVrv::DtDeError::errorParameters ( ) const

Get the error parameters.

const std::string& makVrv::DtDeError::parameter ( unsigned int  index) const

Get a string for a particular parameter, or return the empty parameter string.


Member Data Documentation

std::vector<std::string> makVrv::DtDeError::myErrorParameters [protected]
std::string makVrv::DtDeError::myEmptyParameter [protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)