Data Structures | Typedefs | Variables

ts::config::detail Namespace Reference

Data Structures

struct  PseudoBool
 Class to provide a "pseudo bool" value. More...
class  ValueItem
 A value in the configuration. More...
class  ValueTableImpl
 Table of configuration values. More...
class  ValueTable
 Wrapper class for a table of configuration values. More...

Typedefs

typedef NumericType< size_t,
struct ValueIndexTag > 
ValueIndex
 Index type for value items in the global table.
typedef NumericType< size_t,
struct GenerationTag > 
Generation
 Numeric type for configuration generation.

Variables

Buffer const NULL_BUFFER
 Null buffer, handy in several places.
ConstBuffer const NULL_CONST_BUFFER
 Null buffer, handy in several places.
static ValueIndex const NULL_VALUE_INDEX = static_cast<ValueIndex::raw_type>(-1)
 Index value that presents NULL (invalid value).
static unsigned int const IS_VALID = 1
 Value type properties.
static unsigned int const IS_LITERAL = 1<<1
static unsigned int const IS_CONTAINER = 1<<2
unsigned int const Type_Property [N_VALUE_TYPES]
 Value type property table.

Typedef Documentation

typedef NumericType<size_t, struct GenerationTag> ts::config::detail::Generation

Numeric type for configuration generation.

Definition at line 188 of file TsValue.h.

typedef NumericType<size_t, struct ValueIndexTag> ts::config::detail::ValueIndex

Index type for value items in the global table.

Definition at line 184 of file TsValue.h.


Variable Documentation

unsigned int const ts::config::detail::IS_CONTAINER = 1<<2 [static]
unsigned int const ts::config::detail::IS_LITERAL = 1<<1 [static]

Definition at line 194 of file TsValue.h.

Referenced by ts::config::Value::isLiteral().

unsigned int const ts::config::detail::IS_VALID = 1 [static]

Value type properties.

These are used as bit masks on elements of an array.

Definition at line 193 of file TsValue.h.

Null buffer, handy in several places.

Definition at line 40 of file TsValue.cc.

Null buffer, handy in several places.

Definition at line 41 of file TsValue.cc.

Referenced by ts::config::Value::getName(), ts::config::Value::getText(), and ts::config::Path::operator[]().

Index value that presents NULL (invalid value).

Definition at line 186 of file TsValue.h.

Referenced by ts::config::Value::hasValue(), ts::config::detail::ValueTable::make(), and ts::config::Value::reset().