gsgl::data Namespace Reference


Classes

class  array_base
 Mixin class for memory allocation to keep stdlib functions out of the headers. More...
class  broker
 This class serves to broker plugin object creation and config_recorduration. More...
class  broker_creator
 This is a utility class used by the broker creator macros to register object types. More...
class  brokered_object
class  cache
 Instances of this class's subclasses will automatically register themselves with the global cache, if the cache() constructer is included in the initializer list of the subclass. More...
class  comparable
 Abstract base class for data structures that can be compared to each other. More...
class  config_record
 Stores seralizable configuration information. More...
class  config_variable
class  countable
 A collection whose data can be counted. More...
class  debug_log_target
 A log target that prints to a console (or debug output). More...
class  dictionary
 A dictionary or map. More...
class  dictionary_iterator
class  file_log_target
 A log target that prints to a file. More...
class  global_config
 Base class for global configuration variables. More...
class  global_register
 Base class for global resource registers. More...
class  indexable
 A collection whose elements may be indexed by a particular type. More...
class  iterable
 A collection whose elements may be iterated over from beginning to end. More...
class  list
 A simple linked list. More...
class  list_iterator
class  log_target
 Base class for log targets. More...
class  logger
 Global logger that sends log lines to the various log targets. More...
class  pair
class  pqueue
 A priority queue. Should only be used with simple types, as it copies around chunks of memory. More...
class  pqueue_iterator
class  queue
 A queue is a FIFO structure. More...
class  shared_object
class  shared_pointer
 A smart pointer class with reference counting. More...
class  shared_pointer_impl
class  simple_array
 A simple dynamic array. More...
class  simple_array_iterator
class  simple_stack
 The usual FILO stack structure. This should only be used for storing simple types, as items will be copied around in memory. More...
class  singleton
class  smart_pointer

Functions

template<typename R>
void global_register_resource_aux (gsgl::data::list< R * > &l, R *r)
 Auxiliary function to get around the inability to partially specialize template member functions.
template<typename R>
void global_register_resource_aux (gsgl::data::dictionary< broker_creator *, gsgl::string > &d, broker_creator *bc)
template<typename R>
void global_unregister_resource_aux (gsgl::data::list< R * > &l, R *r)
template<typename R>
void global_unregister_resource_aux (gsgl::data::dictionary< broker_creator *, gsgl::string > &d, broker_creator *bc)
bool operator!= (const comparable &a, const comparable &b)
gsgl::string operator+ (const config_variable< gsgl::string > &cv, const gsgl::string &str)
gsgl::string operator+ (const config_variable< gsgl::string > &cv, const wchar_t *str)
bool operator< (const comparable &a, const comparable &b)
bool operator<= (const comparable &a, const comparable &b)
bool operator== (const comparable &a, const comparable &b)
bool operator> (const comparable &a, const comparable &b)
bool operator>= (const comparable &a, const comparable &b)

Variables

config_variable< floatCONFIG_TEST_ONE (L"test/one", 3.14f)
config_variable< int > CONFIG_TEST_TWO (L"test/two", 2)
config_variable< gsgl::stringCONFIG_TEST_ZERO (L"test/zero", L"0")
class DATA_API global_config


Function Documentation

void gsgl::data::global_register_resource_aux ( gsgl::data::list< R * > &  l,
R *  r 
) [inline]

Auxiliary function to get around the inability to partially specialize template member functions.

Definition at line 91 of file global.hpp.

References list::append(), and assert.

void gsgl::data::global_register_resource_aux ( gsgl::data::dictionary< broker_creator *, gsgl::string > &  d,
broker_creator *  bc 
) [inline]

void gsgl::data::global_unregister_resource_aux ( gsgl::data::list< R * > &  l,
R *  r 
) [inline]

Definition at line 109 of file global.hpp.

References assert, iterable::find_value(), and list::remove().

void gsgl::data::global_unregister_resource_aux ( gsgl::data::dictionary< broker_creator *, gsgl::string > &  d,
broker_creator *  bc 
) [inline]

bool gsgl::data::operator!= ( const comparable &  a,
const comparable &  b 
) [inline]

Definition at line 57 of file comparable.hpp.

References comparable::compare().

gsgl::string gsgl::data::operator+ ( const config_variable< gsgl::string > &  cv,
const gsgl::string str 
) [inline]

Definition at line 241 of file config.hpp.

References config_variable::get_value().

gsgl::string gsgl::data::operator+ ( const config_variable< gsgl::string > &  cv,
const wchar_t *  str 
) [inline]

Definition at line 235 of file config.hpp.

References config_variable::get_value().

bool gsgl::data::operator< ( const comparable &  a,
const comparable &  b 
) [inline]

Definition at line 58 of file comparable.hpp.

References comparable::compare().

bool gsgl::data::operator<= ( const comparable &  a,
const comparable &  b 
) [inline]

Definition at line 59 of file comparable.hpp.

References comparable::compare().

bool gsgl::data::operator== ( const comparable &  a,
const comparable &  b 
) [inline]

Definition at line 56 of file comparable.hpp.

References comparable::compare().

bool gsgl::data::operator> ( const comparable &  a,
const comparable &  b 
) [inline]

Definition at line 60 of file comparable.hpp.

References comparable::compare().

bool gsgl::data::operator>= ( const comparable &  a,
const comparable &  b 
) [inline]

Definition at line 61 of file comparable.hpp.

References comparable::compare().


Variable Documentation

config_variable<float> CONFIG_TEST_ONE(L"test/one", 3.14f)

config_variable<int> CONFIG_TEST_TWO(L"test/two", 2)

class DATA_API global_config

Definition at line 50 of file config.hpp.


Generated on Sat Mar 1 13:50:05 2008 for Periapsis Project by  doxygen 1.5.5