Go to the documentation of this file.00001 #ifndef __STRING_COLLECTIONS_H__
00002 #define __STRING_COLLECTIONS_H__
00003
00004 #include <string>
00005
00006 #include <utilities/mvc/mvc_defines.h>
00007
00008 #if !defined( WIN32_PLATFORM ) && !defined( NIX_PLATFORM ) && !defined( MINGW_PLATFORM ) && !defined( CYGWIN_PLATFORM )
00009 #define WIN32_PLATFORM
00010 #endif
00011
00012 namespace nitro
00013 {
00014
00025 class MVC_DLL_ENTITY StringCollection{
00026 public:
00027
00046 virtual std::size_t GetCount( void ) = 0;
00047
00070 virtual const char * GetStringName( std::size_t i ) = 0;
00071
00094 virtual const char * GetValueAsString( const char * StringName ) = 0;
00095
00118 virtual int GetValueAsInteger( const char * StringName );
00119
00142 virtual double GetValueAsFloat( const char * StringName );
00143
00166 virtual const char * GetValueAsString( std::size_t i );
00167
00190 virtual int GetValueAsInteger( std::size_t i );
00191
00214 virtual double GetValueAsFloat( std::size_t i );
00215
00216 };
00217
00218 };
00219
00220 #endif