Share Namespace Reference

Library namespace. More...


Classes

class  DefaultAllocator
 Allocator for blocks inside shared segment. More...
class  DefaultRefCounter
 Reference counter for shared segment. More...
class  Mutex
 Platform-independent mutex representation. More...
class  MutexLock
 Mutex lock RAII object. More...
class  SegmentHeader
 Object placed at begin of each shared segment. More...
class  SharedSegment
 Platform independent shared segment representation. More...
struct  ERROR_CTAssert_failed__Unexpected_sizeof_char< true >
 template specialization. More...
class  ShareException
 General exception carrying text message inside. More...
class  Relocator
 Class handling low-level pointer relocation. More...
struct  TReference
 Reference generic template. More...
struct  TReference< void >
 template specialization. More...
struct  TReference< const void >
 template specialization. More...
struct  TVoidPointer
 Void pointer generic template. More...
struct  TVoidPointer< const T >
 template specialization More...
class  ShareManager
 Gateway to shared segment More...
class  SharedObject
 Shareable object base class. More...
class  RelocPtr
 Relocable pointer type. More...
class  Allocator
 STL allocator. More...
class  Vector
 STL vector. More...
class  String
 STL string. More...
struct  Pair
 STL pair. More...
class  Map
 STL map. More...
class  ArgParser
 Parser for commnad-line arguments of sharectl utility. More...
class  ArgSwitchChecker
 Command-lnie switches mapping from string to enum. More...
class  SharedSegmentWrapper
 Wrapper around SharedSegment class for sharectl. More...
class  SegmentDebuger
 Wrapper around SegmentHeader class for sharectl. More...

Typedefs

typedef DefaultAllocator TSegmentAllocator
 Change this typedef to use another allocator.
typedef DefaultRefCounter TSegmentRefCounter
 Change this typedef to use another reference counter.

Functions

template<unsigned char bitsAlignment, typename T>
genericAlignmenter (T input)
 Generic number alignmenter.
template<typename T>
alignmenter (T input)
 Number alignmenter using BITS_ALIGNMENT macro.
template<class T>
RelocPtr< T > operator++ (RelocPtr< T > &ptr, int)
 RelocPtr post-increment.
template<class T>
RelocPtr< T > operator-- (RelocPtr< T > &ptr, int)
 RelocPtr post-decrement.
template<class T>
ptrdiff_t operator- (RelocPtr< T > &a, RelocPtr< T > &b)
 RelocPtr pointer difference.
template<class T>
RelocPtr< T > operator+ (RelocPtr< T > ptr, ptrdiff_t diff)
 RelocPtr pointer arithmetic - go next N.
template<class T>
RelocPtr< T > operator- (RelocPtr< T > ptr, ptrdiff_t diff)
 RelocPtr pointer arithemtic - go back N.
template<class T1, class T2>
bool operator== (const Allocator< T1 > &, const Allocator< T2 > &) throw ()
template<class T1, class T2>
bool operator!= (const Allocator< T1 > &, const Allocator< T2 > &) throw ()
template<class A>
String< A > operator+ (String< A > s1, const String< A > &s2)
 Share::Vector string concatenation.
std::ostream & operator<< (std::ostream &, SegmentDebuger &)
 Stream SegmentHeader statistics to output stream.


Detailed Description

Library namespace.

Typedef Documentation

typedef DefaultAllocator Share::TSegmentAllocator

Change this typedef to use another allocator.

Definition at line 17 of file SegmentHeader.h.

typedef DefaultRefCounter Share::TSegmentRefCounter

Change this typedef to use another reference counter.

Definition at line 18 of file SegmentHeader.h.


Function Documentation

template<class T1, class T2>
bool Share::operator!= ( const Allocator< T1 > &  ,
const Allocator< T2 > &   
) throw () [inline]

Definition at line 707 of file sharelib.h.

template<class A>
String<A> Share::operator+ ( String< A >  s1,
const String< A > &  s2 
) [inline]

Share::Vector string concatenation.

Definition at line 1163 of file sharelib.h.

References Share::String< TAllocator >::append().

template<class T>
RelocPtr<T> Share::operator+ ( RelocPtr< T >  ptr,
ptrdiff_t  diff 
) [inline]

RelocPtr pointer arithmetic - go next N.

Definition at line 602 of file sharelib.h.

template<class T>
RelocPtr<T> Share::operator++ ( RelocPtr< T > &  ptr,
int   
) [inline]

RelocPtr post-increment.

Definition at line 574 of file sharelib.h.

Referenced by Share::Map< TKey, TValue, TAllocator >::const_iterator::operator++().

template<class T>
RelocPtr<T> Share::operator- ( RelocPtr< T >  ptr,
ptrdiff_t  diff 
) [inline]

RelocPtr pointer arithemtic - go back N.

Definition at line 611 of file sharelib.h.

template<class T>
ptrdiff_t Share::operator- ( RelocPtr< T > &  a,
RelocPtr< T > &  b 
) [inline]

RelocPtr pointer difference.

Definition at line 594 of file sharelib.h.

References Share::RelocPtr< T >::toRel().

template<class T>
RelocPtr<T> Share::operator-- ( RelocPtr< T > &  ptr,
int   
) [inline]

RelocPtr post-decrement.

Definition at line 584 of file sharelib.h.

std::ostream& Share::operator<< ( std::ostream &  ,
SegmentDebuger &   
)

Stream SegmentHeader statistics to output stream.

template<class T1, class T2>
bool Share::operator== ( const Allocator< T1 > &  ,
const Allocator< T2 > &   
) throw () [inline]

Definition at line 706 of file sharelib.h.

Referenced by Share::Map< TKey, TValue, TAllocator >::const_iterator::operator!=(), and Share::Vector< TItem, TAllocator >::operator!=().


Generated on Sun Aug 26 17:43:01 2007 for ShareLibrary by  doxygen 1.5.2