VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Public Attributes
DtRwPropertiesMap::Key Struct Reference

Wrapper for the map key. Makes it easier to write code that doesn't necessarily need to worry about the specific key type.

Public Types

enum  KeyType { StrType, IntType, DoubleType }
 

Public Member Functions

 Key (const Key &rhs)
 
 Key (const DtString &str)
 
 Key (int i)
 
 Key (double d)
 
bool operator== (const Key &rhs) const
 
bool operator< (const Key &rhs) const
 
DtString string () const
 

Public Attributes

DtString myStr
 
int myInt
 
double myDbl
 
KeyType myType
 

Member Enumeration Documentation

Enumerator
StrType 
IntType 
DoubleType 

Constructor & Destructor Documentation

DtRwPropertiesMap::Key::Key ( const Key rhs)
inline
DtRwPropertiesMap::Key::Key ( const DtString str)
inline
DtRwPropertiesMap::Key::Key ( int  i)
inline
DtRwPropertiesMap::Key::Key ( double  d)
inline

Member Function Documentation

bool DtRwPropertiesMap::Key::operator== ( const Key rhs) const
inline

References myDbl, myInt, and myStr.

bool DtRwPropertiesMap::Key::operator< ( const Key rhs) const
inline

References myDbl, myInt, and myStr.

DtString DtRwPropertiesMap::Key::string ( ) const
inline

Member Data Documentation

DtString DtRwPropertiesMap::Key::myStr

Referenced by operator<(), and operator==().

int DtRwPropertiesMap::Key::myInt

Referenced by operator<(), and operator==().

double DtRwPropertiesMap::Key::myDbl

Referenced by operator<(), and operator==().

KeyType DtRwPropertiesMap::Key::myType

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)