Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

at Namespace Reference
[Initializer Factories]


Compounds

class  AideTwin
class  AideTwin_Basic
class  AppAideTwinTraits_EmptyTraits
class  AppAideTwinTraits_ForwardTraits
class  AppLeadTwin_EmptyTraits
class  AppLeadTwin_ForwardTraits
class  AT_TEST_LifeControlExp
class  Conditional
struct  ConditionalContext
class  ConditionalMutex
class  Default_List_Traits
class  Entry_1_Traits
class  Entry_2_Traits
class  Entry_3_Traits
class  Entry_4_Traits
class  Initializer
class  IType
class  LeadTwinEntry
class  LeadListTraits
class  LeadTwin
class  LeadTwin_Basic
class  LeadTwinList
class  Lock
class  MainInitializer
class  MainInitializer_Basic
struct  MapHeader
struct  DerivedClass
class  IteratorWrapper
class  Apogee
class  Apogee
class  Apogee
class  AtomicCount
class  AtomicExchange_Ptr
class  AtomicExchange_Val
class  Iterator
class  LifeControlPtrStyle
class  List1
class  List2
class  List3
class  List4
class  List_EmptyMutex
class  List_Error_Traits
class  List_Mutex
class  List_Traits
class  List_Types
class  ListAccessorDeclare
class  ListElementBase
class  ListNothing_Basic
struct  MPT_ContainsMember
struct  MPT_Finder
struct  MPT_Select
struct  MPT_Select_Def
struct  MPT_Select_Def< 0, w_T0, w_T1 >
struct  MPT_Select_Def< 1, w_T0, w_T1 >
struct  MPT_True
class  Mutex
struct  MutexContext
class  NotifyLeadInterface
class  NullTwinInterface
class  OSTraitsBase
class  Payload
class  Pointer
class  PointerTo
class  PointerTo< w_TD * >
class  PointerWrapper
class  Ptr
struct  BaseType
class  PtrCOMStyle
class  PtrDelegate
struct  BaseType
class  BWComparator
class  BWDecComparator
struct  CreateWrapper
struct  CreateWrapper
struct  CreateWrapper
struct  CreateWrapper
class  Creator0P
class  Creator1P
class  Creator2P
class  Creator3P
class  CreatorImpl0P
class  CreatorImpl1P
class  CreatorImpl2P
class  CreatorImpl3P
class  DKy
class  Factory_Base
class  FactoryEntryLocator_Base
class  FactoryImpl0P
class  FactoryImpl1P
class  FactoryImpl2P
class  FactoryImpl3P
class  FactoryRegister
class  FactoryRegisterBase
class  FactoryRegisterRegistry
class  FactoryRegisterRegistry_Impl
class  FactoryRegistryEntry
class  FactoryTraits
struct  t_MapEntry
struct  t_EntryCompare
class  t_FactoryRegistryEntry
class  t_RegistrySingleton
struct  t_RREntryCompare
class  FooBar
class  gray_code
class  PtrSelect
class  PtrStyle
class  PtrStyle_TEST
class  PtrTarget
class  PtrTarget_Generic
class  PtrTarget_Helpers
class  PtrTarget_Helpers< AtomicCount, w_ptr_style_traits >
class  PtrTraits
class  PtrView
class  t_Lock
class  t_Lock
struct  RelativePointer
struct  t_RelativePointerReference
class  SourceLocator_Basic
class  StatusReport
class  StatusReport_Basic
class  t_LeadTwinInterface
class  t_AideTwinInterface
struct  TaskContext
class  TestCase_Exception
class  UnitTest
class  UnitTestArea_Basic
class  UnitTestContext
class  t_ExecutorTester
struct  t_Check
union  t_PtrUnion
struct  t_Check
union  t_PtrUnion
class  Task
class  TimeInterval
class  TimeStamp
class  TwinTraits
class  UnionPtr
class  UnionPtr_Empty_A
class  UnionPtr_Empty_B
class  UnionPtrType
class  UnitTestAssertModifier
class  UnitTestExecutor_Basic
class  UnitTestKey_Basic
class  UnitTestTraits
class  UrlParser
class  UrlString
class  Wrapper_Basic
class  xC_List_Entry
class  xC_List_Head
class  xC_Parent
class  xC_ListEntry_1
class  xC_Parent
class  xC_ListEntry_1
class  xC_ListEntry_2
class  xC_Parent
class  xC_ListEntry_1
class  xC_ListEntry_2
class  xC_ListEntry_3
class  xC_Parent
class  xC_ListEntry_1
class  xC_ListEntry_2
class  xC_ListEntry_3
class  xC_ListEntry_4

Typedefs

typedef PtrTarget_Generic<
int > 
PtrTarget_Basic
typedef PtrTarget_Generic<
int, LifeControlPtrStyle
LifeControl_Basic
typedef PtrTarget_Generic<
int > 
LifeControl_Lean
typedef PtrTarget_Generic<
AtomicCount
PtrTarget_MT
typedef char MPT_False
typedef FactoryRegister< Initializer,
DKy, Creator2P< Initializer,
DKy, int &, const char **& >> 
t_StartUpFactoryRegisterType
typedef short Int16
typedef unsigned short Uint16
typedef int Int32
typedef unsigned int Uint32
typedef long long Int64
typedef unsigned long long Uint64
typedef float Real32
typedef double Real64
typedef unsigned int PtrDiff
typedef int AtomicCountType
typedef void * AtomicExchangeablePointer
typedef int AtomicExchangeableValue
typedef unsigned int SYS_TaskID
typedef void * SystemMutexContextType [sizeof(void *)==4?6 *sizeof(void *):5 *sizeof(void *)]
typedef void * SystemConditionalContextType [sizeof(void *)==4?13 *sizeof(void *):7 *sizeof(void *)]

Enumerations

enum  List_Positions { xE_Element = 0, xE_End = 1, xE_Beginning = 2 }
enum  PointerRange { Null, Invalid, Valid }

Functions

template<typename w_str_iterator, typename w_out_iterator, typename w_ptr_diff_type> unsigned BWTEncode (w_str_iterator i_str_begin, w_str_iterator i_str_end, w_out_iterator i_out_begin, w_ptr_diff_type i_count)
template<typename w_str_iterator, typename w_out_iterator> unsigned BWTEncode (w_str_iterator i_str_begin, w_str_iterator i_str_end, w_out_iterator i_out_begin)
template<typename w_str_iterator, typename w_out_iterator, typename w_ptr_diff_type> void BWTDecode (unsigned i_I, w_str_iterator i_str_begin, w_str_iterator i_str_end, w_out_iterator i_out_begin, w_ptr_diff_type i_count)
template<typename w_str_iterator, typename w_out_iterator> void BWTDecode (unsigned i_I, w_str_iterator i_str_begin, w_str_iterator i_str_end, w_out_iterator i_out_begin)
template<typename w_KeyType> AT_String KeyToStr (const w_KeyType &i_key)
template<typename w_count_t, typename w_ptr_style_traits> bool IsRefCountOne (const PtrTarget_Generic< w_count_t, w_ptr_style_traits > *i_ptr)
template<typename w_ClassRef, typename w_RefTraits> bool IsRefCountOne (const Ptr< w_ClassRef, w_RefTraits > &i_ptr)
unsigned GetInitializerCount ()
template<typename w_TR, typename w_T1, typename w_T2, typename w_T3, typename w_T4, typename w_Tp1, typename w_Tp2, typename w_Tp3, typename w_Tp4, int w_N> w_TR Trace (w_TR(*i_func)(w_T1, w_T2, w_T3, w_T4), const char(&i_str)[w_N], int i_line, w_Tp1 i_v1, w_Tp2 i_v2, w_Tp3 i_v3, w_Tp4 i_v4)
template<typename w_TR, typename w_T1, typename w_T2, typename w_T3, typename w_Tp1, typename w_Tp2, typename w_Tp3, int w_N> w_TR Trace (w_TR(*i_func)(w_T1, w_T2, w_T3), const char(&i_str)[w_N], int i_line, w_Tp1 i_v1, w_Tp2 i_v2, w_Tp3 i_v3)
template<typename w_TR, typename w_T1, typename w_T2, typename w_Tp1, typename w_Tp2, int w_N> w_TR Trace (w_TR(*i_func)(w_T1, w_T2), const char(&i_str)[w_N], int i_line, w_Tp1 i_v1, w_Tp2 i_v2)
template<typename w_TR, typename w_T1, typename w_Tp1, int w_N> w_TR Trace (w_TR(*i_func)(w_T1), const char(&i_str)[w_N], int i_line, w_Tp1 i_v1)
int UnitTestExec (int i_argc, const char **i_argv)


Detailed Description

at_factory_funcs.cpp


Typedef Documentation

typedef long at::AtomicCountType
 

AtomicCountType is the fundamental type that is operated on for atomic operations.

typedef void * at::AtomicExchangeablePointer
 

AtomicExchangeablePointer is the pointer type that is the base for the AtomicExchange_Ptr class.

typedef long at::AtomicExchangeableValue
 

AtomicExchangeableValue is the pointer type that is the base for the AtomicExchange_Ptr class.

typedef short at::Int16
 

typedef int at::Int32
 

typedef long long at::Int64
 

typedef PtrTarget_Generic<int,LifeControlPtrStyle> at::LifeControl_Basic
 

LifeControl_Basic is an implementation of PtrTarget. It will actually delete itself once the reference count is zeroed.

Objects that are reference counted rarely need to have a copy constructor or an assignment operator, however, LifeControl_Basic defines these consistant with a model where objects that have references are independantly referenced, i.e. have no effect from being copied.

typedef PtrTarget_Generic<int> at::LifeControl_Lean
 

LifeControl_Lean is an alternate implementation of PtrTarget. It will actually delete itself once the reference count is zeroed.

This version of the PtrTarget interface can be used inside interface descriptions and the increment and decrement functions are not virtual which can lead to much faster execution times.

typedef char at::MPT_False
 

MPT_False is a type used to detect a false meta template result. The type is never instantiated at run-time, it is only used in meta-programming.

typedef unsigned int at::PtrDiff
 

typedef PtrTarget_Generic<int> at::PtrTarget_Basic
 

PtrTarget_Basic is a reference counting base class implementation.

This is useful for cases where an abstract class is not required. With a good optimizing compiler, this class will create very lean code because all calls to increment and decrement reference counts may be inlined.

typedef PtrTarget_Generic<AtomicCount> at::PtrTarget_MT
 

PtrTarget_MT is a multi-threaded reference counting class.

Reference counts will use the AtomicCount object that performs thread safe increment and decrements of counts.

typedef float at::Real32
 

typedef double at::Real64
 

typedef unsigned int at::SYS_TaskID
 

typedef void * at::SystemConditionalContextType[sizeof(void *)==4?13 *sizeof(void *):7 *sizeof(void *)]
 

SystemConditionalContextType basically contains a pthread_condattr_t and a pointer to a pthread_mutex_t. This should be made large enough for holding at least a pthread_condattr_t and a pointer. Don't include pthread.h here.

typedef void * at::SystemMutexContextType[sizeof(void *)==4?6 *sizeof(void *):5 *sizeof(void *)]
 

SystemMutexContextType basically contains a pthread_mutex_t This should be made large enough for holding at least a pthread_mutex_t. Don't include pthread.h here.

typedef FactoryRegister< Initializer, DKy, Creator2P< Initializer, DKy, int &, const char ** & >> at::t_StartUpFactoryRegisterType
 

typedef unsigned short at::Uint16
 

typedef unsigned int at::Uint32
 

typedef unsigned long long at::Uint64
 


Enumeration Type Documentation

enum at::PointerRange
 

PointerRange is an enum that indicates the types of value a pointer may hold.

Enumeration values:
Null  Null relates to a pointer that is not pointing to any object - i.e. the null pointer.
Invalid  Invalid indicates that the pointer is uninitialized. Using a pointer in this range is considered an error.
Valid  The pointer is valid and pointing to an object.


Function Documentation

template<typename w_str_iterator, typename w_out_iterator>
void BWTDecode unsigned    i_I,
w_str_iterator    i_str_begin,
w_str_iterator    i_str_end,
w_out_iterator    i_out_begin
 

BWTDecode performs a conversion from regular BW space to regular text.

Parameters:
w_str_iterator  iterator type for input string
w_out_iterator  iterator type for output string
i_I  the value returned from BWTEncode
i_str_begin  the beginning of the string to decode
i_str_end  the end of the string to decode (1 beyond)
i_out_begin  the beginning of where to write the output

template<typename w_str_iterator, typename w_out_iterator, typename w_ptr_diff_type>
void BWTDecode unsigned    i_I,
w_str_iterator    i_str_begin,
w_str_iterator    i_str_end,
w_out_iterator    i_out_begin,
w_ptr_diff_type    i_count
 

BWTDecode performs a conversion from BW space to regular text. This implementation depends on iterators that can be differenced.

Parameters:
w_str_iterator  iterator type for input string
w_out_iterator  iterator type for output string
w_ptr_diff_type  iterator difference type
i_I  the value returned from BWTEncode
i_str_begin  the beginning of the string to decode
i_str_end  the end of the string to decode (1 beyond)
i_out_begin  the beginning of where to write the output
i_count  the number of elements in the input and output strings

template<typename w_str_iterator, typename w_out_iterator>
unsigned BWTEncode w_str_iterator    i_str_begin,
w_str_iterator    i_str_end,
w_out_iterator    i_out_begin
 

BWTEncode performs a conversion from regular text space to BW space. This interface is an overload of BWTEncode for iterators that support operator-.

Parameters:
w_str_iterator  iterator type for input string
w_out_iterator  iterator type for output string
i_str_begin  the beginning of the string to decode
i_str_end  the end of the string to decode (1 beyond)
i_out_begin  the beginning of where to write the output

template<typename w_str_iterator, typename w_out_iterator, typename w_ptr_diff_type>
unsigned BWTEncode w_str_iterator    i_str_begin,
w_str_iterator    i_str_end,
w_out_iterator    i_out_begin,
w_ptr_diff_type    i_count
 

BWTEncode performs a conversion from regular text space to BW space.

Parameters:
w_str_iterator  iterator type for input string
w_out_iterator  iterator type for output string
w_ptr_diff_type  iterator difference type
i_str_begin  the beginning of the string to decode
i_str_end  the end of the string to decode (1 beyond)
i_out_begin  the beginning of where to write the output
i_count  the number of elements in the input and output strings

unsigned GetInitializerCount  
 

GetInitializerCount will interrogate the initializer factory for the count of initializers.

Returns:
The count of initializers to create

template<typename w_ClassRef, typename w_RefTraits>
bool IsRefCountOne const Ptr< w_ClassRef, w_RefTraits > &    i_ptr [inline]
 

IsRefCountOne will return true if the reference count of a reference counted object is 1.

Parameters:
i_ptr  The value of
Returns:
nothing

template<typename w_count_t, typename w_ptr_style_traits>
bool IsRefCountOne const PtrTarget_Generic< w_count_t, w_ptr_style_traits > *    i_ptr
 

IsRefCountOne will return true if the reference count of a reference counted object is 1.

Parameters:
i_ptr  The value of
Returns:
nothing

template<typename w_TR, typename w_T1, typename w_Tp1, int w_N>
w_TR Trace w_TR(*    i_func)(w_T1),
const char &    i_str[w_N],
int    i_line,
w_Tp1    i_v1
[inline]
 

template<typename w_TR, typename w_T1, typename w_T2, typename w_Tp1, typename w_Tp2, int w_N>
w_TR Trace w_TR(*    i_func)(w_T1, w_T2),
const char &    i_str[w_N],
int    i_line,
w_Tp1    i_v1,
w_Tp2    i_v2
[inline]
 

template<typename w_TR, typename w_T1, typename w_T2, typename w_T3, typename w_Tp1, typename w_Tp2, typename w_Tp3, int w_N>
w_TR Trace w_TR(*    i_func)(w_T1, w_T2, w_T3),
const char &    i_str[w_N],
int    i_line,
w_Tp1    i_v1,
w_Tp2    i_v2,
w_Tp3    i_v3
[inline]
 

template<typename w_TR, typename w_T1, typename w_T2, typename w_T3, typename w_T4, typename w_Tp1, typename w_Tp2, typename w_Tp3, typename w_Tp4, int w_N>
w_TR Trace w_TR(*    i_func)(w_T1, w_T2, w_T3, w_T4),
const char &    i_str[w_N],
int    i_line,
w_Tp1    i_v1,
w_Tp2    i_v2,
w_Tp3    i_v3,
w_Tp4    i_v4
[inline]
 

Trace is a template function that can be used to print the input and output of arbitrary function calls (up to 4 parameters.

Returns:
the return value of the function

AUSTRIA_EXPORT int at::UnitTestExec int    i_argc,
const char **    i_argv
 

UnitTestExec is a method that executes all the unit tests.

&param i_argc - command line parameters &param i_argv - command line parameters &return success = 0 failure - other than 0

Generated for Austria by doxygen and MakeXS at Sun Oct 24 17:35:34 PDT 2004