BLOCXX_NAMESPACE Namespace Reference

Taken from RFC 1321. More...


Classes

class  AppenderLogger
 This implementation of Logger is used to send a Log message to multiple LogAppenders. More...
class  OutOfBoundsException
class  Array
 Array<> wraps std::vector<> in COWReference<> adding ref counting and copy on write capability. More...
class  AssertionException
struct  Atomic_t
 The Atomic_t structure is used by all the AtomicXXX functions. More...
struct  AutoDescriptorPolicy
class  AutoPtr
 The AutoPtr class provides a simple class for smart pointers to single objects (for multiple, see AutoPtrVec); it stores a pointer to an object obtained by way of the new operator and deletes that object when the AutoPtr object is destroyed. More...
class  AutoPtrVec
 The AutoPtrVec class provides a simple class for smart pointers to a dynamically allocated array of objects. More...
struct  AutoResourceRef
 Utility class used in implementing AutoResource operations. More...
class  AutoResource
 PURPOSE: The AutoResource class template is an analog of std::auto_ptr for managing arbitrary resource handles. More...
class  BaseStreamBuffer
class  Bool
 The Bool class is an abstraction for the boolean data type. More...
class  CerrAppender
 The CerrAppender is a LogAppender derivative that sends log message to stderr. More...
class  CerrLogger
 The CerrLogger is a Logger derivative that sends log message to stderr. More...
class  Char16
 The Char16 class is an abstraction for a double byte character. More...
class  CmdLineParserException
class  CmdLineParser
 Do command line parsing. More...
class  ConditionLockException
class  ConditionResourceException
class  Condition
 The Condition class represents a synchronization device that allows threads to suspend execution and relinquish the processors until another thread signals the condition. More...
class  COWIntrusiveCountableBase
class  COWIntrusiveReference
 COWIntrusiveReference A smart pointer that uses intrusive reference counting. More...
class  COWReference
 COWReference A smart pointer that uses non-intrusive reference counting. More...
class  COWReferenceBase
class  DataIStreamBuf
class  DataIStreamBase
class  DataIStream
class  DataOStreamBuf
class  DataOStreamBase
class  DataOStream
class  DateTimeException
class  DateTime
 The DateTime class is an abstraction for date time data. More...
class  DelayedFormat
 This is a class similar to the blocxx format, except that all arguments are bound by reference and the formatting is performed at a later point in time. More...
class  dlSharedLibrary
 dlSharedLibrary loads and queries shared libraries. More...
class  dlSharedLibraryLoader
 dlSharedLibraryLoader is the class for loading shared libraries on systems with the dl functions. More...
class  TempFileEnumerationImpl
class  Enumeration
class  Enumeration_input_iterator
class  Enumeration_insert_iterator
class  EnumerationException
class  EnvVars
 The EnvVars class is an abstraction for a set of environment variables. More...
class  Exception
 This class is the base of all exceptions thrown by BloCxx code. More...
class  ExecErrorException
class  ExecTimeoutException
class  ExecBufferFullException
class  ExecMockObjectUnimplementedException
class  ExecMockObject
 This class can be used to modify/replace the behavior of the Exec functions. More...
class  File
 The purpose of the File class is to provide an abstraction layer over the platform dependant functionality related to a file. More...
class  FileAppender
 This class sends log messges to a file. More...
class  FileBuf
 The purpose of this class is to provide an alternative implementation of std::filebuf that is based on a FILE*, and can be created using a FILE*, a raw file descriptor or an instance of blocxx::File. More...
class  FileSystemException
class  FileSystemMockObjectUnimplementedException
class  FileSystemMockObject
 This class can be used to modify/replace the behavior of the FileSystem functions. More...
class  Format
class  FuncNamePrinter
class  GenericRWLockImplException
class  GenericRWLockImpl
 This class is the implementation of the read/write lock. More...
struct  GlobalMutexFactory
struct  DefaultConstructorFactory
 This class is the default factory for GlobalPtr. More...
class  GlobalPtr
 This class can be used to store a global pointer. More...
struct  StringArrayConstructorFactory
class  IConv_t
 The IConv_t class is a wrapper to the UNIX98 iconv(3) functions. More...
class  IFileStream
 The purpose of this class is to provide an alternative implementation of std::ifstream that is based on a FILE*, and can be created using a FILE*, a raw file descriptor or an instance of blocxx::File. More...
class  IntrusiveCountableBase
class  IntrusiveReference
class  IOException
class  BadSignatureException
class  IOIFC
class  IOIFCStreamBuffer
 DO NOT DERIVE FROM THIS CLASS, as the dtor has to call a virtual fct. More...
class  IPCMutexException
class  IPCMutex
 WARNING: This class only works on Linux. More...
class  IPCMutexLock
 A class to simplify the use of IPCMutex, and make it exception safe. More...
class  IstreamBufIterator
 This class differs from a std::istreambuf_iterator in that dereferncing an eof iterator returns 0 This class is mostly just a replacement for std::istreambuf_iterator<>, since it doesn't exist in the gcc 2.95.x standard lib. More...
struct  DefaultVariableConstructorFactory
class  LazyGlobal
 This class can be used to store a global variable that is lazily initialized in a thread safe manner. More...
class  List
 This class is a wrapper around std::list<> and adds COW capabilities. More...
class  LogAppender
class  LogAppenderScope
 The purpose of this class is to change the current thread's global LogAppenderRef during an instance's lifetime. More...
class  LoggerException
class  Logger
 Logging interface. More...
struct  LogMessage
class  LogMessagePatternFormatterException
class  LogMessagePatternFormatter
class  Map
class  MD5Exception
class  MD5StreamBuffer
class  MD5OStreamBase
class  MD5
class  MultiAppender
 This implementation of LogAppender is used to send a Log message to multiple LogAppenders. More...
class  MultiProcessFileAppender
 This class sends log messges to a file, for use when there may be multiple processes logging to the same file. More...
class  Mutex
class  MutexLock
class  DeadlockException
class  NonRecursiveMutex
 Note that descriptions of what exceptions may be thrown assumes that object is used correctly, i.e., method preconditions are satisfied. More...
class  NonRecursiveMutexLock
 Note that descriptions of what exceptions may be thrown assumes that object is used correctly, i.e., method preconditions are satisfied. More...
class  NullAppender
 This class sends log messges to the bit bucket. More...
class  NullLogger
 This logger just discards all log messages. More...
class  NULLValueException
class  NwIface
class  PerlRegEx
 Perl compatible Regular Expression wrapper class and utility functions. More...
class  PosixRegEx
 POSIX Regular Expression wrapper class and utility functions. More...
class  PosixUnnamedPipe
class  ProcessErrorException
class  Process
 Class for communicating with and managing a child process. More...
class  ProcessImpl
 Abstract interface for abstracting details of dealing with a process. More...
class  RandomNumber
class  RefCount
class  RefCountedPimpl
 PURPOSE: Make it easy to define immutable classes or handle classes, making it inexpensive to copy them, while keeping implementation details out of the header file. More...
class  Reference
class  ReferenceBase
class  NULLReferenceException
class  RefToValue
 Transports a reference as a value Serves to implement the Colvin/Gibbons trick for SmartPtr/ScopeGuard. More...
class  RegExCompileException
 Compilation exception. More...
class  RegExExecuteException
 Execution exception. More...
class  Runnable
 There are two methods for creating a thread of execution in the blocxx systems. More...
class  RWLockerException
class  RWLocker
class  ReadLock
class  WriteLock
class  ScopeGuardImplBase
class  ScopeGuardImpl0
class  ScopeGuardImpl1
class  ScopeGuardImpl2
class  ScopeGuardImpl3
class  ObjScopeGuardImpl0
class  ObjScopeGuardImpl1
class  ObjScopeGuardImpl2
class  ScopeLogger
 This is a fairly simple class that will log a message when created and when destroyed. More...
class  SecureRandException
class  SelectableCallbackIFC
class  SelectableIFC
class  SelectException
class  SelectEngine
class  SelectEngineStopper
class  Semaphore
class  ServerSocket
class  ServerSocketImpl
class  SharedLibrary
 SharedLibrary is a base class for platform classes that implement the functionality of loading and querying shared libraries. More...
class  SharedLibraryException
class  SharedLibraryLoader
 SharedLibraryLoader is the base class for a platform class for loading shared libraries. More...
class  SharedLibraryReference
class  SignalScope
class  SocketTimeoutException
class  Socket
class  UnknownHostException
class  SocketAddressException
class  SocketAddress
class  SocketBaseImpl
class  SocketException
class  SocketImpl
class  SocketStreamBuffer
class  SortedVectorMapDataCompare
class  SortedVectorMap
class  SortedVectorSet
class  SSLCtxMgr
struct  SSLOpts
class  SSLCtxBase
class  SSLServerCtx
class  SSLClientCtx
class  SSLTrustStore
struct  OWSSLContext
class  SSLException
class  SSLSocketImpl
class  Stack
struct  StaticAssertionFailure< true >
class  StringConversionException
class  String
 This String class is an abstract data type that represents as NULL terminated string of characters. More...
class  StringBuffer
class  IStringStreamBuf
class  IStringStreamBase
class  IStringStream
class  OStringStreamBuf
class  OStringStreamBase
class  OStringStream
class  SyslogAppender
 This class sends log messges to syslog. More...
class  TempFileEnumerationImplBase
class  TempFileBuffer
class  TempFileStream
 TempFileStream is an iostream that uses an underlying temp file to hold its content to reduce memory requirements. More...
class  CancellationDeniedException
class  ThreadException
class  Thread
 Descriptions of exceptions thrown assume that the object is used correctly, i.e., method preconditions are satisfied. More...
class  ThreadBarrierImpl
class  ThreadBarrierException
class  ThreadBarrier
 The ThreadBarrier class is used to synchronize threads. More...
struct  ThreadCancelledException
 In the event a thread has been cancelled, a ThreadCancelledException will be thrown. More...
class  ThreadCounter
class  ThreadCountDecrementer
class  ThreadDoneCallback
struct  OnceFlag
class  CallOnce_pthread_MutexLock
class  ThreadPoolImpl
class  ThreadPoolException
class  ThreadPool
 The ThreadPool class is used to coordinate a group of threads. More...
struct  NonRecursiveMutex_t
struct  Mutex_t
struct  NonRecursiveMutexLockState
class  Timeout
 A timeout can be absolute, which means that it will happen at the specified DateTime. More...
class  TimeoutException
class  TimeoutTimer
 A TimeoutTimer is used by an algorithm to determine when a timeout has expired. More...
class  UnnamedPipeException
class  UnnamedPipe
 Abstract interface for an UnnamedPipe. More...
class  InvalidUTF8Exception
class  UUIDException
class  UUID
 UUIDs (Universally Unique IDentifiers), also known as GUIDs (Globally Unique IDentifiers), are 128 bits long. More...

Namespaces

namespace  BinarySerialization
namespace  Cstr
namespace  DelayedFormatInternals
namespace  ExceptionDetail
namespace  ExceptionIds
namespace  Exec
namespace  FileSystem
 The purpose of the FileSystem class is to provide an abstraction layer over the platform dependant functionality related to a file system.
namespace  GetPass
namespace  IConv
 The IConv namespace contains some utility functions based on the IConv_t class.
namespace  LogConfigOptions
namespace  LogMessagePatternFormatterImpl
namespace  MutexImpl
 The MutexImpl namespace represents the functionality needed by the BloCxx Mutex class (Mutex).
namespace  NonRecursiveMutexImpl
 The NonRecursiveMutexImpl namespace represents the functionality needed by the BloCxx non recursive Mutex class (NonRecursiveMutex).
namespace  PosixExec
namespace  ReferenceHelpers
namespace  SafeCString
namespace  Secure
namespace  Select
namespace  SignalUtils
namespace  SocketFlags
namespace  SocketUtils
namespace  StackTrace
namespace  System
namespace  ThreadImpl
 The ThreadImpl namespace represents the functionality needed by the BloCxx Thread class (Thread).
namespace  UserUtils
 Facade encapsulating OS specific user functionality.
namespace  UTF8Utils
namespace  WaitpidThreadFix
namespace  WinExec

Typedefs

typedef Array< UInt8UInt8Array
typedef Array< Int8Int8Array
typedef Array< UInt16UInt16Array
typedef Array< Int16Int16Array
typedef Array< UInt32UInt32Array
typedef Array< Int32Int32Array
typedef Array< UInt64UInt64Array
typedef Array< Int64Int64Array
typedef Array< Real64Real64Array
typedef Array< Real32Real32Array
typedef AutoResource
< AutoDescriptorPolicy
AutoDescriptor
 An analog of std::auto_ptr for descriptors.
typedef IntrusiveReference
< Logger
LoggerRef
typedef IntrusiveReference
< LogAppender
LogAppenderRef
typedef IntrusiveReference
< MultiAppender
MultiAppenderRef
typedef Array< StringStringArray
typedef Array< Char16Char16Array
typedef Enumeration< StringStringEnumeration
typedef IntrusiveReference
< Thread
ThreadRef
typedef IntrusiveReference
< ThreadPool
ThreadPoolRef
typedef Array< BoolBoolArray
typedef IntrusiveReference
< UnnamedPipe
UnnamedPipeRef
typedef IntrusiveReference
< SharedLibraryLoader
SharedLibraryLoaderRef
typedef IntrusiveReference
< SelectableIFC
SelectableIFCRef
typedef IntrusiveReference
< SelectableCallbackIFC
SelectableCallbackIFCRef
typedef IntrusiveReference
< SocketBaseImpl
SocketBaseImplRef
typedef IntrusiveReference
< Runnable
RunnableRef
typedef IntrusiveReference
< ThreadCounter
ThreadCounterRef
typedef IntrusiveReference
< ThreadDoneCallback
ThreadDoneCallbackRef
typedef IntrusiveReference
< SSLServerCtx
SSLServerCtxRef
typedef IntrusiveReference
< SSLClientCtx
SSLClientCtxRef
typedef IntrusiveReference
< SSLTrustStore
SSLTrustStoreRef
typedef IntrusiveReference
< SharedLibrary
SharedLibraryRef
typedef IntrusiveReference
< Process
ProcessRef
typedef LazyGlobal< Mutex, int,
GlobalMutexFactory
GlobalMutex
typedef LazyGlobal< String,
char const *const > 
GlobalString
typedef LazyGlobal
< StringArray, const char
*const,
StringArrayConstructorFactory
GlobalStringArray
typedef SortedVectorMap
< String, String
LoggerConfigMap
typedef
LogMessagePatternFormatter::Converter 
Converter
typedef
LogMessagePatternFormatter::ConverterRef 
ConverterRef
typedef unsigned char * POINTER
typedef
blocxx::MultiProcessFileAppender 
app_t
typedef sockaddr SocketAddress_t
typedef sockaddr_storage InetSocketAddress_t
typedef sockaddr_un UnixSocketAddress_t
typedef in_addr InetAddress_t
typedef int SocketHandle_t
typedef int Select_t
typedef Array< std::pair
< String, EFileStatusReturn > > 
path_results_t
typedef UnnamedPipe::EBlockingMode EBlockingMode
typedef IntrusiveReference
< PosixUnnamedPipe
PosixUnnamedPipeRef
typedef IntrusiveReference
< ProcessImpl
ProcessImplRef
typedef PosixRegEx RegEx
 RegEx is just a shortcut to the PosixRegEx.
typedef const ScopeGuardImplBaseScopeGuard
 See Andrei's and Petru Marginean's CUJ article http://www.cuj.com/documents/s=8000/cujcexp1812alexandr/alexandr.htm.
typedef Array< Select_tSelectTypeArray
typedef void(* sighandler_t )(int)
typedef int(* certVerifyFuncPtr_t )(X509 *cert, const String &hostName)
 Verify a X509 certificate.
typedef unsigned long int(* strtoulfp_t )(const char *, char **, int)
typedef long int(* strtolfp_t )(const char *, char **, int)
typedef unsigned long long int(* strtoullfp_t )(const char *, char **, int)
typedef long long int(* strtollfp_t )(const char *, char **, int)
typedef Int32(* ThreadFunction )(void *)
typedef pthread_t Thread_t
typedef pthread_mutex_t NativeMutex_t
typedef pthread_cond_t ConditionVar_t
typedef unsigned char UInt8
typedef signed char Int8
typedef unsigned short UInt16
typedef short Int16
typedef unsigned int UInt32
typedef int Int32
typedef unsigned long long UInt64
typedef long long Int64
typedef double Real64
typedef float Real32
typedef int FileHandle
typedef int Descriptor
typedef uid_t UserId
typedef pid_t ProcId
typedef UInt64 uuid_time_t
typedef Reference< ExceptionExceptionPtr
typedef IntrusiveReference
< SpawnWorkItem > 
SpawnWorkItemPtr
typedef IntrusiveReference
< WaitpidWorkItem > 
WaitpidWorkItemPtr

Enumerations

enum  EOverwritePreviousConfigItemFlag { E_PRESERVE_PREVIOUS_CONFIG_ITEM, E_OVERWRITE_PREVIOUS_CONFIG_ITEM }
enum  ELogLevel {
  E_NONE_LEVEL, E_FATAL_ERROR_LEVEL, E_ERROR_LEVEL, E_WARNING_LEVEL,
  E_INFO_LEVEL, E_DEBUG_LEVEL, E_DEBUG2_LEVEL, E_DEBUG3_LEVEL,
  E_ALL_LEVEL
}
enum  EFileStatusReturn { E_FILE_OK, E_FILE_BAD_OWNER, E_FILE_BAD_OTHER }

Functions

void throwArrayOutOfBoundsException (size_t size, size_t idx)
template<class T>
bool operator!= (const Array< T > &x, const Array< T > &y)
 Determine two Arrays are not equal.
template<class T>
bool operator<= (const Array< T > &x, const Array< T > &y)
 Determine if one Array is less than or equal to another.
template<class T>
bool operator>= (const Array< T > &x, const Array< T > &y)
 Determine if one Array is greater than or equal to another.
template<class T>
bool operator> (const Array< T > &x, const Array< T > &y)
 Determine if one Array is greater than another.
template<class T>
bool operator== (const Array< T > &x, const Array< T > &y)
template<class T>
bool operator< (const Array< T > &x, const Array< T > &y)
template<class T>
void swap (Array< T > &x, Array< T > &y)
void AtomicInc (Atomic_t &v)
 Increment the value in a given Atomic_t structure.
bool AtomicDecAndTest (Atomic_t &v)
 Decrement the value in a given Atomic_t structure and test it for zero.
int AtomicGet (Atomic_t const &v)
 Get the value from a given Atomic_t structure.
void AtomicDec (Atomic_t &v)
 Decrement the value in a given Atomic_t structure.
ostream & operator<< (ostream &ostrm, const Bool &arg)
std::ostream & operator<< (std::ostream &ostrm, const Bool &arg)
 Insert the string representation of a Bool object into a given stream.
UInt16 hton16 (UInt16 v)
 Convert a UInt16 value to network byte order.
UInt32 hton32 (UInt32 v)
 Convert a UInt32 value to network byte order.
UInt64 hton64 (UInt64 v)
 Convert a UInt64 value to network byte order.
UInt16 ntoh16 (UInt16 v)
 Convert a UInt16 value from network byte order to host byte order.
UInt32 ntoh32 (UInt32 v)
 Convert a UInt32 value from network byte order to host byte order.
UInt64 ntoh64 (UInt64 v)
 Convert a UInt64 value from network byte order to host byte order.
std::ostream & operator<< (std::ostream &ostrm, const Char16 &arg)
bool operator== (char c, const Char16 &arg)
bool operator== (const Char16 &arg, int v)
bool operator== (int v, const Char16 &arg)
bool operator!= (const Char16 &arg, int v)
bool operator!= (int v, const Char16 &arg)
bool operator!= (char c, const Char16 &arg)
bool operator< (char c, const Char16 &arg)
bool operator<= (char c, const Char16 &arg)
bool operator> (char c, const Char16 &arg)
bool operator>= (char c, const Char16 &arg)
Char16 operator+ (const Char16 &arg1, const Char16 &arg2)
Char16 operator- (const Char16 &arg1, const Char16 &arg2)
Char16 operator* (const Char16 &arg1, const Char16 &arg2)
Char16 operator/ (const Char16 &arg1, const Char16 &arg2)
bool timespec_less (struct timespec const &x, struct timespec const &y)
int check_timedwait (int rc, pthread_cond_t *cond, pthread_mutex_t *mtx, struct timespec const *abstime)
void COWIntrusiveReferenceAddRef (COWIntrusiveCountableBase *p)
void COWIntrusiveReferenceRelease (COWIntrusiveCountableBase *p)
bool COWIntrusiveReferenceUnique (COWIntrusiveCountableBase *p)
template<typename T>
T * COWIntrusiveReferenceClone (T *p)
template<class T, class U>
bool operator== (COWIntrusiveReference< T > const &a, COWIntrusiveReference< U > const &b)
template<class T, class U>
bool operator!= (COWIntrusiveReference< T > const &a, COWIntrusiveReference< U > const &b)
template<class T>
bool operator== (COWIntrusiveReference< T > const &a, const T *b)
template<class T>
bool operator!= (COWIntrusiveReference< T > const &a, const T *b)
template<class T>
bool operator== (const T *a, COWIntrusiveReference< T > const &b)
template<class T>
bool operator!= (const T *a, COWIntrusiveReference< T > const &b)
template<class T>
bool operator< (COWIntrusiveReference< T > const &a, COWIntrusiveReference< T > const &b)
template<class T>
void swap (COWIntrusiveReference< T > &lhs, COWIntrusiveReference< T > &rhs)
template<class T, class U>
bool operator== (const COWReference< T > &a, const COWReference< U > &b)
template<class T, class U>
bool operator!= (const COWReference< T > &a, const COWReference< U > &b)
template<class T, class U>
bool operator< (const COWReference< T > &a, const COWReference< U > &b)
template<class T>
T * COWReferenceClone (T *obj)
template<class T>
void COWRefSwap (T &x, T &y)
void badDateTime (const String &str)
void validateRanges (Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second, Int32 microseconds, const String &str)
bool isDOWValid (const char *str)
bool isLongDOWValid (const String &s)
int decodeShortMonth (const char *str)
int decodeLongMonth (const String &str)
bool getTimeZoneOffset (const String &timezone, int &offset)
Int32 getDaysPerMonth (Int32 year, Int32 month)
void adjustTimeForTimeZone (Int32 timezone_offset, Int32 &year, Int32 &month, Int32 &day, Int32 &hour)
DateTime operator- (DateTime const &x, DateTime const &y)
 Returns the difference of x and y.
AutoDescriptor receiveDescriptor (Descriptor streamPipe)
 Gets a Descriptor from the peer.
AutoDescriptor copy_error (char *dst, size_t dstsz, char const *src)
int passDescriptor (Descriptor streamPipe, Descriptor descriptor, ProcId targetProcess=0)
 Sends a Descriptor to the peer.
AutoDescriptor receiveDescriptor (Descriptor streamPipe, char *errbuf, size_t bufsz)
 Gets a Descriptor from the peer.
template<class T>
bool operator== (const Enumeration_input_iterator< T > &x, const Enumeration_input_iterator< T > &y)
template<class T>
bool operator!= (const Enumeration_input_iterator< T > &x, const Enumeration_input_iterator< T > &y)
template<class Container>
Enumeration_insert_iterator
< Container > 
Enumeration_inserter (Enumeration< Container > &x)
void getKeyValue (const char *const strArg, String &key, String &value)
bool isValidKey (const String &key)
static void freeBuf (char **ptr)
std::ostream & operator<< (std::ostream &os, const Exception &e)
 Writes the exception object to the stream in the form: <file>: <line> <type>: <message>.
std::ostream & operator<< (std::ostream &os, const Format &f)
void IntrusiveReferenceAddRef (IntrusiveCountableBase *p)
void IntrusiveReferenceRelease (IntrusiveCountableBase *p)
template<class T, class U>
bool operator== (IntrusiveReference< T > const &a, IntrusiveReference< U > const &b)
template<class T, class U>
bool operator!= (IntrusiveReference< T > const &a, IntrusiveReference< U > const &b)
template<class T>
bool operator== (IntrusiveReference< T > const &a, T *b)
template<class T>
bool operator!= (IntrusiveReference< T > const &a, T *b)
template<class T>
bool operator== (T *a, IntrusiveReference< T > const &b)
template<class T>
bool operator!= (T *a, IntrusiveReference< T > const &b)
template<class T>
bool operator< (IntrusiveReference< T > const &a, IntrusiveReference< T > const &b)
template<class T>
void swap (IntrusiveReference< T > &lhs, IntrusiveReference< T > &rhs)
template<class T, class U>
IntrusiveReference< T > static_pointer_cast (IntrusiveReference< U > const &p)
template<class T, class U>
IntrusiveReference< T > const_pointer_cast (IntrusiveReference< U > const &p)
template<class T, class U>
IntrusiveReference< T > dynamic_pointer_cast (IntrusiveReference< U > const &p)
IOIFCStreamBuffer::EDirectionFlag directionToEnum (const char *direction)
bool operator== (const IstreamBufIterator &lhs, const IstreamBufIterator &rhs)
bool operator!= (const IstreamBufIterator &lhs, const IstreamBufIterator &rhs)
template<class T>
bool operator== (const List< T > &x, const List< T > &y)
template<class T>
bool operator< (const List< T > &x, const List< T > &y)
template<class T>
void swap (List< T > &x, List< T > &y)
template<class T>
std::list< T > * COWReferenceClone (std::list< T > *obj)
static void freeThreadLogAppender (void *ptr)
void initGuardAndKey ()
String getConfigItem (const LoggerConfigMap &configItems, const String &itemName, const String &defRetVal="")
template<class Key, class T, class Compare>
bool operator== (const Map< Key, T, Compare > &x, const Map< Key, T, Compare > &y)
template<class Key, class T, class Compare>
bool operator< (const Map< Key, T, Compare > &x, const Map< Key, T, Compare > &y)
template<class Key, class T, class Compare>
std::map< Key, T, Compare > * COWReferenceClone (std::map< Key, T, Compare > *obj)
template<class Key, class T, class Compare>
void swap (Map< Key, T, Compare > &x, Map< Key, T, Compare > &y)
static void MD5Transform (UInt32 *, const unsigned char *)
static void Encode (unsigned char *, UInt32 *, UInt32)
static void Decode (UInt32 *, const unsigned char *, UInt32)
void readWriteMemoryBarrier ()
 This function is solely for the use of libblocxx threading primitives.
UInt64 kbytesToBytes (UInt64 max_size)
void wrapped_lstat (char const *path, struct stat &st)
char const * strip_leading_slashes (char const *path)
void logFileStatus (path_results_t const &results, const uid_t uid)
std::pair< ESecurity, Stringpath_security (char const *base_dir, char const *rel_path, uid_t uid, bool bdsecure)
std::pair< ESecurity, Stringpath_security (char const *path, UserId uid)
bool isPathAbsolute (String const &path)
EFileStatusReturn getFileStatus (struct stat const &x, uid_t uid, bool is_full_path, const String &path)
 GetFileStatus() - just to unify the call of file_ok() for Win and xNix.
static String substitute_caps (const PerlRegEx::MatchArray &sub, const String &str, const String &rep)
static String getError (const int errcode)
void throw_child_error (Exec::PreExec::Error const &err, const String &process_path)
void check (bool b, char const *message, bool use_errno=true)
void parent_check (bool b, char const *msg)
void close_on_exec (Descriptor descr, bool may_be_bad)
void handle_child_error (int rc, Exec::PreExec::Error const &ce, Process &proc, const String &process_path)
long getMaxOpenFiles ()
void init_child (char const *exec_path, char const *const argv[], char const *const envp[], Exec::PreExec &pre_exec, UnnamedPipe *ppipe[Exec::Impl::BLOCXX_NPIPE])
int doLock (int hdl, int cmd, short int type)
bool group_ok (::gid_t gid)
bool check_grp_oth (struct stat const &x)
EFileStatusReturn file_ok (struct stat const &x,::uid_t uid, bool full_path)
static String getError (const regex_t *preg, const int code)
int upclose (int fd)
::ssize_t upread (int fd, void *buf, std::size_t count)
::ssize_t upwrite (int fd, void const *buf, std::size_t count)
int upaccept (int s, struct sockaddr *addr, socklen_t *addrlen)
void setKernelBufferSize (Descriptor sockfd, int bufsz, EDirection edir)
void setDefaultKernelBufsz (Descriptor sockfd_read, Descriptor sockfd_write)
void set_desc_blocking (int d, EBlockingMode &bmflag, EBlockingMode blocking_mode)
Process::Status pollStatusImpl (ProcId pid)
void upr_close (UnnamedPipeRef &x)
template<class T, class U>
bool operator== (const Reference< T > &a, const Reference< U > &b)
template<class T, class U>
bool operator!= (const Reference< T > &a, const Reference< U > &b)
template<class T, class U>
bool operator< (const Reference< T > &a, const Reference< U > &b)
template<class T>
void RefSwap (T &x, T &y)
template<class T>
RefToValue< T > ByRef (T &t)
 RefToValue creator.
template<typename F>
ScopeGuardImpl0< F > makeGuard (F fun)
template<typename F, typename P1>
ScopeGuardImpl1< F, P1 > makeGuard (F fun, P1 p1)
template<typename F, typename P1, typename P2>
ScopeGuardImpl2< F, P1, P2 > makeGuard (F fun, P1 p1, P2 p2)
template<typename F, typename P1, typename P2, typename P3>
ScopeGuardImpl3< F, P1, P2, P3 > makeGuard (F fun, P1 p1, P2 p2, P3 p3)
template<class Obj, typename MemFun>
ObjScopeGuardImpl0< Obj, MemFun > makeObjGuard (Obj &obj, MemFun memFun)
template<typename Ret, class Obj1, class Obj2>
ObjScopeGuardImpl0< Obj1, Ret(Obj2::*)()> makeGuard (Ret(Obj2::*memFun)(), Obj1 &obj)
template<typename Ret, class Obj1, class Obj2>
ObjScopeGuardImpl0< Obj1, Ret(Obj2::*)()> makeGuard (Ret(Obj2::*memFun)(), Obj1 *obj)
template<class Obj, typename MemFun, typename P1>
ObjScopeGuardImpl1< Obj,
MemFun, P1 > 
makeObjGuard (Obj &obj, MemFun memFun, P1 p1)
template<typename Ret, class Obj1, class Obj2, typename P1a, typename P1b>
ObjScopeGuardImpl1< Obj1, Ret(Obj2::*)(P1a),
P1b > 
makeGuard (Ret(Obj2::*memFun)(P1a), Obj1 &obj, P1b p1)
template<typename Ret, class Obj1, class Obj2, typename P1a, typename P1b>
ObjScopeGuardImpl1< Obj1, Ret(Obj2::*)(P1a),
P1b > 
makeGuard (Ret(Obj2::*memFun)(P1a), Obj1 *obj, P1b p1)
template<class Obj, typename MemFun, typename P1, typename P2>
ObjScopeGuardImpl2< Obj,
MemFun, P1, P2 > 
makeObjGuard (Obj &obj, MemFun memFun, P1 p1, P2 p2)
template<typename Ret, class Obj1, class Obj2, typename P1a, typename P1b, typename P2a, typename P2b>
ObjScopeGuardImpl2< Obj1, Ret(Obj2::*)(P1a,
P2a), P1b, P2b > 
makeGuard (Ret(Obj2::*memFun)(P1a, P2a), Obj1 &obj, P1b p1, P2b p2)
template<typename Ret, class Obj1, class Obj2, typename P1a, typename P1b, typename P2a, typename P2b>
ObjScopeGuardImpl2< Obj1, Ret(Obj2::*)(P1a,
P2a), P1b, P2b > 
makeGuard (Ret(Obj2::*memFun)(P1a, P2a), Obj1 *obj, P1b p1, P2b p2)
template<class Key, class T, class Compare>
bool operator== (const SortedVectorMap< Key, T, Compare > &x, const SortedVectorMap< Key, T, Compare > &y)
template<class Key, class T, class Compare>
bool operator< (const SortedVectorMap< Key, T, Compare > &x, const SortedVectorMap< Key, T, Compare > &y)
template<class Key, class T, class Compare>
void swap (SortedVectorMap< Key, T, Compare > &x, SortedVectorMap< Key, T, Compare > &y)
template<class T, class Compare>
bool operator== (const SortedVectorSet< T, Compare > &x, const SortedVectorSet< T, Compare > &y)
template<class T, class Compare>
bool operator< (const SortedVectorSet< T, Compare > &x, const SortedVectorSet< T, Compare > &y)
template<class T, class Compare>
void swap (SortedVectorSet< T, Compare > &x, SortedVectorSet< T, Compare > &y)
static struct
CRYPTO_dynlock_value
dyn_create_function (const char *, int)
static void dyn_lock_function (int mode, struct CRYPTO_dynlock_value *l, const char *, int)
static void dyn_destroy_function (struct CRYPTO_dynlock_value *l, const char *, int)
static unsigned long id_function ()
static void locking_function (int mode, int n, const char *, int)
static int verify_callback (int ok, X509_STORE_CTX *store)
void sslWaitForIO (SocketBaseImpl &s, int type)
void shutdownSSL (SSL *ssl)
void connectWithSSL (SSL *ssl, SocketBaseImpl &s)
int acceptSSL (SSL *ssl, SocketBaseImpl &s, String &errorDescription)
template<class T1>
bool StrictWeakOrdering (const T1 &lhs1, const T1 &rhs1)
template<class T1, class T2>
bool StrictWeakOrdering (const T1 &lhs1, const T1 &rhs1, const T2 &lhs2, const T2 &rhs2)
template<class T1, class T2, class T3>
bool StrictWeakOrdering (const T1 &lhs1, const T1 &rhs1, const T2 &lhs2, const T2 &rhs2, const T3 &lhs3, const T3 &rhs3)
template<class T1, class T2, class T3, class T4>
bool StrictWeakOrdering (const T1 &lhs1, const T1 &rhs1, const T2 &lhs2, const T2 &rhs2, const T3 &lhs3, const T3 &rhs3, const T4 &lhs4, const T4 &rhs4)
template<class T1, class T2, class T3, class T4, class T5>
bool StrictWeakOrdering (const T1 &lhs1, const T1 &rhs1, const T2 &lhs2, const T2 &rhs2, const T3 &lhs3, const T3 &rhs3, const T4 &lhs4, const T4 &rhs4, const T5 &lhs5, const T5 &rhs5)
template<class T1, class T2, class T3, class T4, class T5, class T6>
bool StrictWeakOrdering (const T1 &lhs1, const T1 &rhs1, const T2 &lhs2, const T2 &rhs2, const T3 &lhs3, const T3 &rhs3, const T4 &lhs4, const T4 &rhs4, const T5 &lhs5, const T5 &rhs5, const T6 &lhs6, const T6 &rhs6)
template<class T1, class T2, class T3, class T4, class T5, class T6, class T7>
bool StrictWeakOrdering (const T1 &lhs1, const T1 &rhs1, const T2 &lhs2, const T2 &rhs2, const T3 &lhs3, const T3 &rhs3, const T4 &lhs4, const T4 &rhs4, const T5 &lhs5, const T5 &rhs5, const T6 &lhs6, const T6 &rhs6, const T7 &lhs7, const T7 &rhs7)
template<class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8>
bool StrictWeakOrdering (const T1 &lhs1, const T1 &rhs1, const T2 &lhs2, const T2 &rhs2, const T3 &lhs3, const T3 &rhs3, const T4 &lhs4, const T4 &rhs4, const T5 &lhs5, const T5 &rhs5, const T6 &lhs6, const T6 &rhs6, const T7 &lhs7, const T7 &rhs7, const T8 &lhs8, const T8 &rhs8)
template<class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9>
bool StrictWeakOrdering (const T1 &lhs1, const T1 &rhs1, const T2 &lhs2, const T2 &rhs2, const T3 &lhs3, const T3 &rhs3, const T4 &lhs4, const T4 &rhs4, const T5 &lhs5, const T5 &rhs5, const T6 &lhs6, const T6 &rhs6, const T7 &lhs7, const T7 &rhs7, const T8 &lhs8, const T8 &rhs8, const T9 &lhs9, const T9 &rhs9)
template<class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10>
bool StrictWeakOrdering (const T1 &lhs1, const T1 &rhs1, const T2 &lhs2, const T2 &rhs2, const T3 &lhs3, const T3 &rhs3, const T4 &lhs4, const T4 &rhs4, const T5 &lhs5, const T5 &rhs5, const T6 &lhs6, const T6 &rhs6, const T7 &lhs7, const T7 &rhs7, const T8 &lhs8, const T8 &rhs8, const T9 &lhs9, const T9 &rhs9, const T10 &lhs10, const T10 &rhs10)
static int strncmpi (const char *s1, const char *s2, size_t n)
static void throwStringConversion (const String::buf_t &m_buf, const char *type)
static void throwStringConversion (const char *str, const char *type)
template<typename T, typename FP>
static T convertToRealType (const String::buf_t &m_buf, const char *type, FP fp)
template<typename T, typename FP, typename FPRT>
static T doConvertToIntType (const String::buf_t &m_buf, const char *type, FP fp, int base)
template<typename T>
static T convertToUIntType (const String::buf_t &m_buf, const char *msg, int base)
template<typename T>
static T convertToIntType (const String::buf_t &m_buf, const char *msg, int base)
template<typename T>
static T convertToUInt64Type (const String::buf_t &m_buf, const char *msg, int base)
template<typename T>
static T convertToInt64Type (const String::buf_t &m_buf, const char *msg, int base)
String operator+ (const String &s1, const String &s2)
String operator+ (const char *p, const String &s)
String operator+ (const String &s, const char *p)
String operator+ (char c, const String &s)
String operator+ (const String &s, char c)
ostream & operator<< (ostream &ostr, const String &arg)
std::ostream & operator<< (std::ostream &ostr, const String &arg)
bool operator== (const String &s1, const String &s2)
bool operator== (const String &s, const char *p)
bool operator== (const char *p, const String &s)
bool operator!= (const String &s1, const String &s2)
bool operator!= (const String &s, const char *p)
bool operator!= (const char *p, const String &s)
bool operator< (const String &s1, const String &s2)
bool operator< (const String &s, const char *p)
bool operator< (const char *p, const String &s)
bool operator<= (const String &s1, const String &s2)
bool operator<= (const String &s, const char *p)
bool operator<= (const char *p, const String &s)
bool operator> (const String &s1, const String &s2)
bool operator> (const String &s, const char *p)
bool operator> (const char *p, const String &s)
bool operator>= (const String &s1, const String &s2)
bool operator>= (const String &s, const char *p)
bool operator>= (const char *p, const String &s)
std::ostream & operator<< (std::ostream &ostr, const StringBuffer &b)
bool operator== (const StringBuffer &x, const StringBuffer &y)
bool operator!= (const StringBuffer &x, const StringBuffer &y)
bool operator== (const StringBuffer &x, const String &y)
bool operator!= (const StringBuffer &x, const String &y)
bool operator== (const String &x, const StringBuffer &y)
bool operator!= (const String &x, const StringBuffer &y)
static Thread_t zeroThread ()
static bool sameId (const Thread_t &t1, const Thread_t &t2)
template<typename FuncT>
void callOnce (OnceFlag &flag, FuncT F)
 The first time callOnce is called with a given onceFlag argument, it calls func with no argument and changes the value of flag to indicate that func has been run.
void runRunnable (const RunnableRef &work)
bool operator== (const Timeout &x, const Timeout &y)
bool operator!= (const Timeout &x, const Timeout &y)
template<typename T, typename U>
void safeAssign (T &x, U y)
bool compareInterval (const DateTime &first, const DateTime &timeToTest, double seconds)
void getSystemTime (uuid_time_t *uuid_time)
void getCurrentTime (uuid_time_t *timestamp)
void getNodeIdentifier (uuid_node_t *node)
unsigned char decodeHex (char c)
unsigned char fromHexStr (char c1, char c2, const String &uuidStr)
char toHexHi (unsigned char c)
char toHexLow (unsigned char c)
bool operator== (const UUID &x, const UUID &y)
bool operator< (const UUID &x, const UUID &y)
bool operator!= (const UUID &x, const UUID &y)
template<class T>
std::vector< T > * COWReferenceClone (std::vector< T > *obj)
 The purpose of this header is to only have one definition of this function.
void initThread ()
Thread_t getWorkerThreadId ()
void initThread ()
Thread_t getWorkerThreadId ()

Variables

const size_t BASE_BUF_SIZE = 256
const size_t HTTP_BUF_SIZE = 4096
NonRecursiveMutex cerrGuard
const int LOCAL_TIME_OFFSET = -24
char const MAGIC_CHAR = '\xa5'
GlobalMutex dlSharedLibrary_guard = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} }
GlobalString COMPONENT_NAME = { "blocxx.dlSharedLibraryLoader" , 0, {0, PTHREAD_MUTEX_INITIALIZER} }
GlobalMutex fileGuard = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} }
const int ADD_KEY = 1
const int BLOCK_FOR_KEY = -1
char const LOG_1_LOCATION_opt [] = "log.%1.location"
char const LOG_1_MAX_FILE_SIZE_opt [] = "log.%1.max_file_size"
char const LOG_1_MAX_BACKUP_INDEX_opt [] = "log.%1.max_backup_index"
char const LOG_1_FLUSH_opt [] = "log.%1.flush"
char const LOG_1_SYSLOG_IDENTITY_opt [] = "log.%1.identity"
char const LOG_1_SYSLOG_FACILITY_opt [] = "log.%1.facility"
OnceFlag g_onceGuard = {0, PTHREAD_MUTEX_INITIALIZER}
NonRecursiveMutexg_mutexGuard = NULL
::BLOCXX_NAMESPACE::GlobalPtr
< LogAppenderRef,
NullAppenderFactory > 
g_defaultLogAppender = { 0, {0, PTHREAD_MUTEX_INITIALIZER} }
pthread_key_t g_loggerKey
GlobalString CDATA_START = { "<![CDATA[" , 0, {0, PTHREAD_MUTEX_INITIALIZER} }
GlobalString CDATA_END = { "]]>" , 0, {0, PTHREAD_MUTEX_INITIALIZER} }
GlobalString CDATA_PSEUDO_END = { "]]&gt;" , 0, {0, PTHREAD_MUTEX_INITIALIZER} }
GlobalString CDATA_EMBEDDED_END = { "]]>" "]]&gt;" "<![CDATA[" , 0, {0, PTHREAD_MUTEX_INITIALIZER} }
const int MD5HASHHEXLEN = 32
static unsigned char PADDING [64]
const int MD5HASHLEN = 16
unsigned const MAX_SYMBOLIC_LINKS = 100
const int REG_NOERROR = 0
static const char * TERM_MESSAGE = "Terminate Process"
LazyGlobal< ThreadPool, int,
ZombieReaperPoolCreator > 
g_zombieReaperPool = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} }
OnceFlag guard = {0, PTHREAD_MUTEX_INITIALIZER}
unsigned int seed = 0
GlobalMutex g_guard = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} }
const int BLOCXX_SIGSEGV = SIGSEGV
const int BLOCXX_SIGABRT = SIGABRT
const int BLOCXX_SIGFPE = SIGFPE
static bool b_gotShutDown = false
static GlobalMutex shutdownMutex = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} }
BLOCXX_NAMESPACE::Mutexmutex_buf = 0
SSLLibraryInit_t m_initState = BLOCXX_SSL_LIBRARY_NOT_INITIALIZED
GlobalMutex m_initStateGuard = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} }
SSLLocks_t m_locksState = BLOCXX_SSL_LOCKS_NOT_USED
GlobalMutex m_locksStateGuard = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} }
LazyGlobal< SSLGlobalWork, int,
SSLGlobalWorkFactory > 
g_SSLGlobalWork = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} }
static GlobalMutex m_mapGuard = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} }
static const char cnullChar = '\0'
static char nullChar = '\0'
GlobalMutex syslogGuard = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} }
static char log_ident [255]
static struct Facilities facilities []
const UInt32 TEMPFILE_ENUMERATION_SIG = 0x4f57454e
static Thread_t NULLTHREAD = zeroThread()
uuid_state g_state
uuid_time_t timeLast
UInt16 uuidsThisTick
bool currentTimeInited = false
unsigned char nodeId [6]
bool nodeIdInitDone = false
bool g_useWaitpidThreadFix
OnceFlag g_initThreadGuard = {0, PTHREAD_MUTEX_INITIALIZER}
ProcessThread * g_processThread = 0


Detailed Description

Taken from RFC 1321.

TempFileBuffer is the "IntelliBuffer".

This file should not be confused with the LogAppenderScope.

Author:
Dan Nuffer

Jon Carey

Dan Nuffer

Jon Carey

Dan Nuffer

This header file contains the implementation of the Array template class. It is not intended to be used directly by users of the blocxx library.

Author:
Kevin S. Van Horn

Bart Whiteley

Dan Nuffer

Peter Dimov

Dan Nuffer

Kevin Harris

Kevin Van Horn

Dan Nuffer

Kevin Van Horn

Dan Nuffer

Andrey Mukha // Windows part

Jon Carey (jcarey@novell.com)

Joel Smith

Jon Carey

Dan Nuffer

Kevin S. Van Horn

Joel Smith

Jon Carey

Dan Nuffer

Kevin S. Van Horn

Mat Bess

Marius Tomaschewski (mt@suse.de)

Marius Tomaschewski

Bart Whiteley

Dan Nuffer

Kevin Harris

Dan Nuffer

Anna Laguto // Windows part

Bart Whiteley

Dan Nuffer The following disclaimer is contained therein.

Kevin S. Van Horn

Anton Afanasiev - for Win

Anton Afanasiev

Kevin S. Van Horn

Dan Nuffer (code modified from Exec.cpp)

Kevin S. Van Horn

Kevin Harris

Dan Nuffer

Kevin Harris This is a logger that logs a message when created and destroyed.

Jon Carey

Bart Whiteley

Dan Nuffer

Jon Carey

Bart Whiteley

Dan Nuffer This buffer is for an iostream similar to a stringstream. The difference is that there is a buffer of a user defined size. Once the buffer is full, it switches to write to a temp file. Designed to optimize speed in the case of small buffers, and memory in the case of large buffers.

Dan Nuffer

Anton Afanasiev - for Win

Andrey Mukha


Typedef Documentation

typedef blocxx::MultiProcessFileAppender BLOCXX_NAMESPACE::app_t [static]

Definition at line 84 of file MultiProcessFileAppender.cpp.

An analog of std::auto_ptr for descriptors.

See also:
AutoResource for details

Definition at line 69 of file AutoDescriptor.hpp.

Definition at line 97 of file CommonFwd.hpp.

typedef int(* BLOCXX_NAMESPACE::certVerifyFuncPtr_t)(X509 *cert, const String &hostName)

Verify a X509 certificate.

Parameters:
cert a pointer to the certificate to verify.
Returns:
1 if the certificate is good, 0 if the certificate is bad. If 0 is returned, the SSL handshake will abort.

Definition at line 62 of file SSLCtxMgr.hpp.

Definition at line 75 of file CommonFwd.hpp.

typedef pthread_cond_t BLOCXX_NAMESPACE::ConditionVar_t

Definition at line 89 of file ThreadTypes.hpp.

Definition at line 194 of file LogMessagePatternFormatter.cpp.

Definition at line 195 of file LogMessagePatternFormatter.cpp.

Definition at line 135 of file Types.hpp.

Definition at line 382 of file PosixUnnamedPipe.cpp.

Definition at line 102 of file WaitpidThreadFix.cpp.

Definition at line 134 of file Types.hpp.

Definition at line 56 of file GlobalMutex.hpp.

typedef LazyGlobal<String, char const * const> BLOCXX_NAMESPACE::GlobalString

Definition at line 49 of file GlobalString.hpp.

Definition at line 55 of file GlobalStringArray.hpp.

Definition at line 90 of file NetworkTypes.hpp.

typedef sockaddr_storage BLOCXX_NAMESPACE::InetSocketAddress_t

Definition at line 79 of file NetworkTypes.hpp.

typedef short BLOCXX_NAMESPACE::Int16

Definition at line 70 of file Types.hpp.

Definition at line 523 of file Array.hpp.

Definition at line 79 of file Types.hpp.

Definition at line 525 of file Array.hpp.

typedef long long BLOCXX_NAMESPACE::Int64

Definition at line 92 of file Types.hpp.

Definition at line 527 of file Array.hpp.

typedef signed char BLOCXX_NAMESPACE::Int8

Definition at line 67 of file Types.hpp.

Definition at line 521 of file Array.hpp.

Definition at line 66 of file CommonFwd.hpp.

Definition at line 53 of file LogConfig.hpp.

Definition at line 63 of file CommonFwd.hpp.

Definition at line 69 of file CommonFwd.hpp.

typedef pthread_mutex_t BLOCXX_NAMESPACE::NativeMutex_t

Definition at line 61 of file ThreadTypes.hpp.

Definition at line 54 of file PathSecurity.cpp.

typedef unsigned char* BLOCXX_NAMESPACE::POINTER

Definition at line 156 of file MD5.cpp.

Definition at line 89 of file PosixUnnamedPipe.hpp.

Definition at line 56 of file Process.hpp.

Definition at line 159 of file CommonFwd.hpp.

typedef pid_t BLOCXX_NAMESPACE::ProcId

Definition at line 139 of file Types.hpp.

typedef float BLOCXX_NAMESPACE::Real32

Definition at line 105 of file Types.hpp.

Definition at line 529 of file Array.hpp.

typedef double BLOCXX_NAMESPACE::Real64

Definition at line 98 of file Types.hpp.

Definition at line 528 of file Array.hpp.

RegEx is just a shortcut to the PosixRegEx.

Definition at line 47 of file RegEx.hpp.

Definition at line 130 of file CommonFwd.hpp.

See Andrei's and Petru Marginean's CUJ article http://www.cuj.com/documents/s=8000/cujcexp1812alexandr/alexandr.htm.

Changes to the original code by Joshua Lehrer: http://www.lehrerfamily.com/scopeguard.html

Definition at line 106 of file ScopeGuard.hpp.

Definition at line 146 of file NetworkTypes.hpp.

Definition at line 118 of file CommonFwd.hpp.

Definition at line 115 of file CommonFwd.hpp.

Definition at line 53 of file Select.hpp.

Definition at line 112 of file CommonFwd.hpp.

Definition at line 156 of file CommonFwd.hpp.

typedef void(* BLOCXX_NAMESPACE::sighandler_t)(int)

Definition at line 65 of file SignalScope.hpp.

Definition at line 76 of file NetworkTypes.hpp.

Definition at line 123 of file CommonFwd.hpp.

Definition at line 97 of file NetworkTypes.hpp.

typedef IntrusiveReference<SpawnWorkItem> BLOCXX_NAMESPACE::SpawnWorkItemPtr [static]

Definition at line 253 of file WaitpidThreadFix.cpp.

Definition at line 150 of file CommonFwd.hpp.

Definition at line 147 of file CommonFwd.hpp.

Definition at line 153 of file CommonFwd.hpp.

Definition at line 72 of file CommonFwd.hpp.

Definition at line 88 of file CommonFwd.hpp.

typedef long int(* BLOCXX_NAMESPACE::strtolfp_t)(const char *, char **, int)

Definition at line 1058 of file String.cpp.

typedef long long int(* BLOCXX_NAMESPACE::strtollfp_t)(const char *, char **, int)

Definition at line 1060 of file String.cpp.

typedef unsigned long int(* BLOCXX_NAMESPACE::strtoulfp_t)(const char *, char **, int)

Definition at line 1057 of file String.cpp.

typedef unsigned long long int(* BLOCXX_NAMESPACE::strtoullfp_t)(const char *, char **, int)

Definition at line 1059 of file String.cpp.

typedef pthread_t BLOCXX_NAMESPACE::Thread_t

Definition at line 60 of file ThreadTypes.hpp.

Definition at line 133 of file CommonFwd.hpp.

Definition at line 136 of file CommonFwd.hpp.

Definition at line 63 of file ThreadImpl.hpp.

Definition at line 94 of file CommonFwd.hpp.

Definition at line 91 of file CommonFwd.hpp.

typedef unsigned short BLOCXX_NAMESPACE::UInt16

Definition at line 69 of file Types.hpp.

Definition at line 522 of file Array.hpp.

typedef unsigned int BLOCXX_NAMESPACE::UInt32

Definition at line 78 of file Types.hpp.

Definition at line 524 of file Array.hpp.

typedef unsigned long long BLOCXX_NAMESPACE::UInt64

Definition at line 91 of file Types.hpp.

Definition at line 526 of file Array.hpp.

typedef unsigned char BLOCXX_NAMESPACE::UInt8

Definition at line 66 of file Types.hpp.

Definition at line 520 of file Array.hpp.

Definition at line 86 of file NetworkTypes.hpp.

Definition at line 105 of file CommonFwd.hpp.

typedef uid_t BLOCXX_NAMESPACE::UserId

Definition at line 138 of file Types.hpp.

Definition at line 66 of file UUID.cpp.

typedef IntrusiveReference<WaitpidWorkItem> BLOCXX_NAMESPACE::WaitpidWorkItemPtr [static]

Definition at line 254 of file WaitpidThreadFix.cpp.


Enumeration Type Documentation

Enumerator:
E_FILE_OK 
E_FILE_BAD_OWNER 
E_FILE_BAD_OTHER 

Definition at line 50 of file PathSecurity.hpp.

Enumerator:
E_NONE_LEVEL 
E_FATAL_ERROR_LEVEL 
E_ERROR_LEVEL 
E_WARNING_LEVEL 
E_INFO_LEVEL 
E_DEBUG_LEVEL 
E_DEBUG2_LEVEL 
E_DEBUG3_LEVEL 
E_ALL_LEVEL 

Definition at line 45 of file LogLevel.hpp.

Enumerator:
E_PRESERVE_PREVIOUS_CONFIG_ITEM 
E_OVERWRITE_PREVIOUS_CONFIG_ITEM 

Definition at line 47 of file LogConfig.hpp.


Function Documentation

int BLOCXX_NAMESPACE::@249::acceptSSL ( SSL *  ssl,
SocketBaseImpl &  s,
String &  errorDescription 
) [static]

void BLOCXX_NAMESPACE::@40::adjustTimeForTimeZone ( Int32  timezone_offset,
Int32 &  year,
Int32 &  month,
Int32 &  day,
Int32 &  hour 
) [static]

Definition at line 692 of file DateTime.cpp.

References getDaysPerMonth().

Referenced by BLOCXX_NAMESPACE::DateTime::DateTime().

void BLOCXX_NAMESPACE::AtomicDec ( Atomic_t &  v  ) 

Decrement the value in a given Atomic_t structure.

Parameters:
v The Atomic_t to decrement.

Definition at line 74 of file AtomicOps.cpp.

References BLOCXX_NAMESPACE::Atomic_t::spinlock, and BLOCXX_NAMESPACE::Atomic_t::val.

bool BLOCXX_NAMESPACE::AtomicDecAndTest ( Atomic_t &  v  ) 

Decrement the value in a given Atomic_t structure and test it for zero.

Parameters:
v The Atomic_t to decrement and test.
Returns:
true if the value in v has reached zero.

Definition at line 62 of file AtomicOps.cpp.

References BLOCXX_NAMESPACE::Atomic_t::spinlock, and BLOCXX_NAMESPACE::Atomic_t::val.

Referenced by BLOCXX_NAMESPACE::RefCount::decAndTest().

int BLOCXX_NAMESPACE::AtomicGet ( Atomic_t const &  v  ) 

Get the value from a given Atomic_t structure.

Parameters:
v The Atomic_t to get the value from.
Returns:
the value contained in the Atomic_t

Definition at line 70 of file AtomicOps.cpp.

References BLOCXX_NAMESPACE::Atomic_t::val.

Referenced by BLOCXX_NAMESPACE::RefCount::get(), and BLOCXX_NAMESPACE::ThreadImpl::testCancel().

void BLOCXX_NAMESPACE::AtomicInc ( Atomic_t &  v  ) 

Increment the value in a given Atomic_t structure.

Parameters:
v The Atomic_t to increment the value in.

Definition at line 56 of file AtomicOps.cpp.

References BLOCXX_NAMESPACE::Atomic_t::spinlock, and BLOCXX_NAMESPACE::Atomic_t::val.

Referenced by BLOCXX_NAMESPACE::RefCount::inc().

void BLOCXX_NAMESPACE::@40::badDateTime ( const String &  str  )  [inline, static]

Definition at line 132 of file DateTime.cpp.

References BLOCXX_THROW.

Referenced by BLOCXX_NAMESPACE::DateTime::DateTime(), and validateRanges().

template<class T>
RefToValue<T> BLOCXX_NAMESPACE::ByRef ( T &  t  )  [inline]

RefToValue creator.

Definition at line 89 of file RefToValue.hpp.

template<typename FuncT>
void BLOCXX_NAMESPACE::callOnce ( OnceFlag &  flag,
FuncT  F 
) [inline]

void BLOCXX_NAMESPACE::@162::check ( bool  b,
char const *  message,
bool  use_errno = true 
) [static]

bool BLOCXX_NAMESPACE::check_grp_oth ( struct stat const &  x  )  [inline]

Definition at line 54 of file PosixPathSecurity.cpp.

References group_ok().

Referenced by file_ok().

int BLOCXX_NAMESPACE::@30::check_timedwait ( int  rc,
pthread_cond_t *  cond,
pthread_mutex_t *  mtx,
struct timespec const *  abstime 
) [static]

void BLOCXX_NAMESPACE::@162::close_on_exec ( Descriptor  descr,
bool  may_be_bad 
) [static]

bool BLOCXX_NAMESPACE::@292::compareInterval ( const DateTime &  first,
const DateTime &  timeToTest,
double  seconds 
) [static]

void BLOCXX_NAMESPACE::@249::connectWithSSL ( SSL *  ssl,
SocketBaseImpl &  s 
) [static]

template<class T, class U>
IntrusiveReference<T> BLOCXX_NAMESPACE::const_pointer_cast ( IntrusiveReference< U > const &  p  )  [inline]

template<typename T>
static T BLOCXX_NAMESPACE::convertToInt64Type ( const String::buf_t &  m_buf,
const char *  msg,
int  base 
) [inline, static]

Definition at line 1081 of file String.cpp.

References BLOCXX_NAMESPACE::String::strtoll().

template<typename T>
static T BLOCXX_NAMESPACE::convertToIntType ( const String::buf_t &  m_buf,
const char *  msg,
int  base 
) [inline, static]

Definition at line 1069 of file String.cpp.

template<typename T, typename FP>
static T BLOCXX_NAMESPACE::convertToRealType ( const String::buf_t &  m_buf,
const char *  type,
FP  fp 
) [inline, static]

Definition at line 976 of file String.cpp.

References throwStringConversion().

template<typename T>
static T BLOCXX_NAMESPACE::convertToUInt64Type ( const String::buf_t &  m_buf,
const char *  msg,
int  base 
) [inline, static]

Definition at line 1075 of file String.cpp.

References BLOCXX_NAMESPACE::String::strtoull().

template<typename T>
static T BLOCXX_NAMESPACE::convertToUIntType ( const String::buf_t &  m_buf,
const char *  msg,
int  base 
) [inline, static]

Definition at line 1063 of file String.cpp.

AutoDescriptor BLOCXX_NAMESPACE::@46::copy_error ( char *  dst,
size_t  dstsz,
char const *  src 
) [static]

Definition at line 67 of file DescriptorUtils_noexcept.cpp.

Referenced by receiveDescriptor().

void BLOCXX_NAMESPACE::COWIntrusiveReferenceAddRef ( COWIntrusiveCountableBase *  p  ) 

template<typename T>
T * BLOCXX_NAMESPACE::COWIntrusiveReferenceClone ( T *  p  )  [inline]

void BLOCXX_NAMESPACE::COWIntrusiveReferenceRelease ( COWIntrusiveCountableBase *  p  ) 

If the reference count is zero after the release, the COWIntrusiveCountableBase object will be deleted.

Parameters:
p The COWIntrusiveCountableBase object to release the reference for.

Definition at line 140 of file COWIntrusiveCountableBase.hpp.

References BLOCXX_NAMESPACE::RefCount::decAndTest(), and BLOCXX_NAMESPACE::COWIntrusiveCountableBase::m_usecount.

Referenced by BLOCXX_NAMESPACE::COWIntrusiveReference< BLOCXX_NAMESPACE::String::ByteBuf >::~COWIntrusiveReference().

bool BLOCXX_NAMESPACE::COWIntrusiveReferenceUnique ( COWIntrusiveCountableBase *  p  ) 

template<class T>
std::vector<T>* BLOCXX_NAMESPACE::COWReferenceClone ( std::vector< T > *  obj  )  [inline]

The purpose of this header is to only have one definition of this function.

Various classes use COWReference<std::vector<T> > and thus need this function.

Definition at line 54 of file vector.hpp.

template<class Key, class T, class Compare>
std::map<Key, T, Compare>* BLOCXX_NAMESPACE::COWReferenceClone ( std::map< Key, T, Compare > *  obj  )  [inline]

Definition at line 234 of file Map.hpp.

template<class T>
std::list<T>* BLOCXX_NAMESPACE::COWReferenceClone ( std::list< T > *  obj  )  [inline]

Definition at line 658 of file List.hpp.

template<class T>
T* BLOCXX_NAMESPACE::COWReferenceClone ( T *  obj  )  [inline]

Definition at line 355 of file COWReference.hpp.

Referenced by BLOCXX_NAMESPACE::COWReference< T >::getWriteLock().

template<class T>
void BLOCXX_NAMESPACE::COWRefSwap ( T &  x,
T &  y 
) [inline]

static void BLOCXX_NAMESPACE::Decode ( UInt32 *  output,
const unsigned char *  input,
UInt32  len 
) [static]

Definition at line 410 of file MD5.cpp.

References i.

Referenced by MD5Transform().

unsigned char BLOCXX_NAMESPACE::@302::decodeHex ( char  c  )  [inline, static]

Definition at line 164 of file UUID.cpp.

Referenced by fromHexStr().

int BLOCXX_NAMESPACE::@40::decodeLongMonth ( const String &  str  )  [inline, static]

Definition at line 359 of file DateTime.cpp.

References BLOCXX_NAMESPACE::String::equals().

Referenced by BLOCXX_NAMESPACE::DateTime::DateTime().

int BLOCXX_NAMESPACE::@40::decodeShortMonth ( const char *  str  )  [inline, static]

Definition at line 264 of file DateTime.cpp.

Referenced by BLOCXX_NAMESPACE::DateTime::DateTime().

IOIFCStreamBuffer::EDirectionFlag BLOCXX_NAMESPACE::@107::directionToEnum ( const char *  direction  )  [static]

template<typename T, typename FP, typename FPRT>
static T BLOCXX_NAMESPACE::doConvertToIntType ( const String::buf_t &  m_buf,
const char *  type,
FP  fp,
int  base 
) [inline, static]

Definition at line 1035 of file String.cpp.

References throwStringConversion().

int BLOCXX_NAMESPACE::@164::doLock ( int  hdl,
int  cmd,
short int  type 
) [static]

static struct CRYPTO_dynlock_value* BLOCXX_NAMESPACE::@245::dyn_create_function ( const char *  ,
int   
) [static, read]

Definition at line 103 of file SSLCtxMgr.cpp.

static void BLOCXX_NAMESPACE::@245::dyn_destroy_function ( struct CRYPTO_dynlock_value l,
const char *  ,
int   
) [static]

Definition at line 122 of file SSLCtxMgr.cpp.

static void BLOCXX_NAMESPACE::@245::dyn_lock_function ( int  mode,
struct CRYPTO_dynlock_value l,
const char *  ,
int   
) [static]

template<class T, class U>
IntrusiveReference<T> BLOCXX_NAMESPACE::dynamic_pointer_cast ( IntrusiveReference< U > const &  p  )  [inline]

static void BLOCXX_NAMESPACE::Encode ( unsigned char *  output,
UInt32 *  input,
UInt32  len 
) [static]

Definition at line 396 of file MD5.cpp.

References i.

Referenced by BLOCXX_NAMESPACE::MD5::MD5Final().

template<class Container>
Enumeration_insert_iterator<Container> BLOCXX_NAMESPACE::Enumeration_inserter ( Enumeration< Container > &  x  )  [inline]

Definition at line 233 of file Enumeration.hpp.

EFileStatusReturn BLOCXX_NAMESPACE::file_ok ( struct stat const &  x,
::uid_t  uid,
bool  full_path 
)

Definition at line 60 of file PosixPathSecurity.cpp.

References check_grp_oth(), E_FILE_BAD_OTHER, E_FILE_BAD_OWNER, and E_FILE_OK.

Referenced by getFileStatus().

static void BLOCXX_NAMESPACE::freeBuf ( char **  ptr  )  [static]

Definition at line 65 of file Exception.cpp.

Referenced by BLOCXX_NAMESPACE::Exception::~Exception().

static void BLOCXX_NAMESPACE::freeThreadLogAppender ( void *  ptr  )  [static]

unsigned char BLOCXX_NAMESPACE::@302::fromHexStr ( char  c1,
char  c2,
const String &  uuidStr 
) [inline, static]

Definition at line 177 of file UUID.cpp.

References BLOCXX_THROW, and decodeHex().

Referenced by BLOCXX_NAMESPACE::UUID::UUID().

String BLOCXX_NAMESPACE::@114::getConfigItem ( const LoggerConfigMap &  configItems,
const String &  itemName,
const String &  defRetVal = "" 
) [static]

void BLOCXX_NAMESPACE::@302::getCurrentTime ( uuid_time_t *  timestamp  )  [static]

Definition at line 123 of file UUID.cpp.

References getSystemTime().

Referenced by BLOCXX_NAMESPACE::UUID::UUID().

Int32 BLOCXX_NAMESPACE::@40::getDaysPerMonth ( Int32  year,
Int32  month 
) [static]

Definition at line 652 of file DateTime.cpp.

Referenced by adjustTimeForTimeZone().

static String BLOCXX_NAMESPACE::getError ( const regex_t *  preg,
const int  code 
) [inline, static]

Definition at line 112 of file PosixRegEx.cpp.

static String BLOCXX_NAMESPACE::getError ( const int  errcode  )  [inline, static]

EFileStatusReturn BLOCXX_NAMESPACE::getFileStatus ( struct stat const &  x,
uid_t  uid,
bool  is_full_path,
const String &  path 
)

GetFileStatus() - just to unify the call of file_ok() for Win and xNix.

Definition at line 89 of file PosixPathSecurity.cpp.

References file_ok().

Referenced by path_security().

void BLOCXX_NAMESPACE::@64::getKeyValue ( const char *const   strArg,
String &  key,
String &  value 
) [static]

long BLOCXX_NAMESPACE::@162::getMaxOpenFiles (  )  [static]

void BLOCXX_NAMESPACE::@302::getNodeIdentifier ( uuid_node_t *  node  )  [static]

Definition at line 149 of file UUID.cpp.

References BLOCXX_NAMESPACE::Secure::rand().

Referenced by BLOCXX_NAMESPACE::UUID::UUID().

void BLOCXX_NAMESPACE::@302::getSystemTime ( uuid_time_t *  uuid_time  )  [static]

Definition at line 105 of file UUID.cpp.

Referenced by getCurrentTime().

bool BLOCXX_NAMESPACE::@40::getTimeZoneOffset ( const String &  timezone,
int &  offset 
) [static]

Definition at line 416 of file DateTime.cpp.

References BLOCXX_NAMESPACE::String::length().

Referenced by BLOCXX_NAMESPACE::DateTime::DateTime().

Thread_t BLOCXX_NAMESPACE::@305::getWorkerThreadId (  )  [static]

Definition at line 392 of file WaitpidThreadFix.cpp.

References callOnce(), g_initThreadGuard, g_processThread, and initThread().

Thread_t BLOCXX_NAMESPACE::@305::getWorkerThreadId (  )  [static]

bool BLOCXX_NAMESPACE::group_ok ( ::gid_t  gid  )  [inline]

Definition at line 43 of file PosixPathSecurity.cpp.

Referenced by check_grp_oth().

void BLOCXX_NAMESPACE::@162::handle_child_error ( int  rc,
Exec::PreExec::Error const &  ce,
Process &  proc,
const String &  process_path 
) [static]

UInt16 BLOCXX_NAMESPACE::hton16 ( UInt16  v  )  [inline]

Convert a UInt16 value to network byte order.

Parameters:
v The UInt16 value to convert
Returns:
The value of v in network byte order.

Definition at line 59 of file ByteSwap.hpp.

Referenced by BLOCXX_NAMESPACE::ServerSocketImpl::doListenIPv4(), BLOCXX_NAMESPACE::ServerSocketImpl::doListenIPv6(), BLOCXX_NAMESPACE::SocketAddress::getFromNativeForm(), and BLOCXX_NAMESPACE::BinarySerialization::write().

UInt32 BLOCXX_NAMESPACE::hton32 ( UInt32  v  )  [inline]

Convert a UInt32 value to network byte order.

Parameters:
v The UInt32 value to convert
Returns:
The value of v in network byte order.

Definition at line 65 of file ByteSwap.hpp.

Referenced by BLOCXX_NAMESPACE::ServerSocketImpl::doListenIPv4(), BLOCXX_NAMESPACE::SocketAddress::getAnyLocalHost(), and BLOCXX_NAMESPACE::BinarySerialization::write().

UInt64 BLOCXX_NAMESPACE::hton64 ( UInt64  v  )  [inline]

Convert a UInt64 value to network byte order.

Parameters:
v The UInt64 value to convert
Returns:
The value of v in network byte order.

Definition at line 71 of file ByteSwap.hpp.

Referenced by BLOCXX_NAMESPACE::BinarySerialization::write().

static unsigned long BLOCXX_NAMESPACE::@245::id_function (  )  [static]

void BLOCXX_NAMESPACE::@162::init_child ( char const *  exec_path,
char const *const   argv[],
char const *const   envp[],
Exec::PreExec &  pre_exec,
UnnamedPipe *  ppipe[Exec::Impl::BLOCXX_NPIPE] 
) [static]

void BLOCXX_NAMESPACE::@114::initGuardAndKey (  )  [static]

void BLOCXX_NAMESPACE::@305::initThread (  )  [static]

Definition at line 385 of file WaitpidThreadFix.cpp.

References g_processThread.

Referenced by getWorkerThreadId().

void BLOCXX_NAMESPACE::@305::initThread (  )  [static]

void BLOCXX_NAMESPACE::IntrusiveReferenceAddRef ( IntrusiveCountableBase *  p  ) 

void BLOCXX_NAMESPACE::IntrusiveReferenceRelease ( IntrusiveCountableBase *  p  ) 

bool BLOCXX_NAMESPACE::@40::isDOWValid ( const char *  str  )  [inline, static]

Definition at line 152 of file DateTime.cpp.

Referenced by BLOCXX_NAMESPACE::DateTime::DateTime().

bool BLOCXX_NAMESPACE::@40::isLongDOWValid ( const String &  s  )  [inline, static]

Definition at line 248 of file DateTime.cpp.

Referenced by BLOCXX_NAMESPACE::DateTime::DateTime().

bool BLOCXX_NAMESPACE::isPathAbsolute ( String const &  path  ) 

bool BLOCXX_NAMESPACE::@64::isValidKey ( const String &  key  )  [inline, static]

UInt64 BLOCXX_NAMESPACE::@135::kbytesToBytes ( UInt64  max_size  )  [static]

Definition at line 86 of file MultiProcessFileAppender.cpp.

static void BLOCXX_NAMESPACE::@245::locking_function ( int  mode,
int  n,
const char *  ,
int   
) [static]

void BLOCXX_NAMESPACE::@158::logFileStatus ( path_results_t const &  results,
const uid_t  uid 
) [static]

template<typename Ret, class Obj1, class Obj2, typename P1a, typename P1b, typename P2a, typename P2b>
ObjScopeGuardImpl2<Obj1,Ret(Obj2::*)(P1a,P2a),P1b,P2b> BLOCXX_NAMESPACE::makeGuard ( Ret(Obj2::*)(P1a, P2a)  memFun,
Obj1 *  obj,
P1b  p1,
P2b  p2 
) [inline]

Definition at line 377 of file ScopeGuard.hpp.

Referenced by makeGuard().

template<typename Ret, class Obj1, class Obj2, typename P1a, typename P1b, typename P2a, typename P2b>
ObjScopeGuardImpl2<Obj1,Ret(Obj2::*)(P1a,P2a),P1b,P2b> BLOCXX_NAMESPACE::makeGuard ( Ret(Obj2::*)(P1a, P2a)  memFun,
Obj1 &  obj,
P1b  p1,
P2b  p2 
) [inline]

Definition at line 371 of file ScopeGuard.hpp.

template<typename Ret, class Obj1, class Obj2, typename P1a, typename P1b>
ObjScopeGuardImpl1<Obj1,Ret(Obj2::*)(P1a),P1b> BLOCXX_NAMESPACE::makeGuard ( Ret(Obj2::*)(P1a)  memFun,
Obj1 *  obj,
P1b  p1 
) [inline]

Definition at line 330 of file ScopeGuard.hpp.

template<typename Ret, class Obj1, class Obj2, typename P1a, typename P1b>
ObjScopeGuardImpl1<Obj1,Ret(Obj2::*)(P1a),P1b> BLOCXX_NAMESPACE::makeGuard ( Ret(Obj2::*)(P1a)  memFun,
Obj1 &  obj,
P1b  p1 
) [inline]

Definition at line 324 of file ScopeGuard.hpp.

template<typename Ret, class Obj1, class Obj2>
ObjScopeGuardImpl0<Obj1,Ret(Obj2::*)()> BLOCXX_NAMESPACE::makeGuard ( Ret(Obj2::*)()  memFun,
Obj1 *  obj 
) [inline]

Definition at line 284 of file ScopeGuard.hpp.

template<typename Ret, class Obj1, class Obj2>
ObjScopeGuardImpl0<Obj1,Ret(Obj2::*)()> BLOCXX_NAMESPACE::makeGuard ( Ret(Obj2::*)()  memFun,
Obj1 &  obj 
) [inline]

Definition at line 278 of file ScopeGuard.hpp.

template<typename F, typename P1, typename P2, typename P3>
ScopeGuardImpl3<F, P1, P2, P3> BLOCXX_NAMESPACE::makeGuard ( fun,
P1  p1,
P2  p2,
P3  p3 
) [inline]

Definition at line 237 of file ScopeGuard.hpp.

References makeGuard().

template<typename F, typename P1, typename P2>
ScopeGuardImpl2<F, P1, P2> BLOCXX_NAMESPACE::makeGuard ( fun,
P1  p1,
P2  p2 
) [inline]

Definition at line 202 of file ScopeGuard.hpp.

References makeGuard().

template<typename F, typename P1>
ScopeGuardImpl1<F, P1> BLOCXX_NAMESPACE::makeGuard ( fun,
P1  p1 
) [inline]

Definition at line 168 of file ScopeGuard.hpp.

References makeGuard().

template<typename F>
ScopeGuardImpl0<F> BLOCXX_NAMESPACE::makeGuard ( fun  )  [inline]

Definition at line 135 of file ScopeGuard.hpp.

References makeGuard().

template<class Obj, typename MemFun, typename P1, typename P2>
ObjScopeGuardImpl2<Obj, MemFun, P1, P2> BLOCXX_NAMESPACE::makeObjGuard ( Obj &  obj,
MemFun  memFun,
P1  p1,
P2  p2 
) [inline]

Definition at line 365 of file ScopeGuard.hpp.

Referenced by makeObjGuard().

template<class Obj, typename MemFun, typename P1>
ObjScopeGuardImpl1<Obj, MemFun, P1> BLOCXX_NAMESPACE::makeObjGuard ( Obj &  obj,
MemFun  memFun,
P1  p1 
) [inline]

Definition at line 318 of file ScopeGuard.hpp.

References makeObjGuard().

template<class Obj, typename MemFun>
ObjScopeGuardImpl0<Obj, MemFun> BLOCXX_NAMESPACE::makeObjGuard ( Obj &  obj,
MemFun  memFun 
) [inline]

Definition at line 272 of file ScopeGuard.hpp.

References makeObjGuard().

static void BLOCXX_NAMESPACE::MD5Transform ( UInt32 *  state,
const unsigned char *  block 
) [static]

Definition at line 314 of file MD5.cpp.

References Decode(), FF, GG, HH, II, S11, S12, S13, S14, S21, S22, S23, S24, S31, S32, S33, S34, S41, S42, S43, and S44.

Referenced by BLOCXX_NAMESPACE::MD5::MD5Update().

UInt16 BLOCXX_NAMESPACE::ntoh16 ( UInt16  v  )  [inline]

Convert a UInt16 value from network byte order to host byte order.

Parameters:
v The UInt16 value to convert
Returns:
The value of v in host byte order.

Definition at line 77 of file ByteSwap.hpp.

Referenced by BLOCXX_NAMESPACE::SocketAddress::getPort(), and BLOCXX_NAMESPACE::BinarySerialization::read().

UInt32 BLOCXX_NAMESPACE::ntoh32 ( UInt32  v  )  [inline]

Convert a UInt32 value from network byte order to host byte order.

Parameters:
v The UInt32 value to convert
Returns:
The value of v in host byte order.

Definition at line 83 of file ByteSwap.hpp.

Referenced by BLOCXX_NAMESPACE::BinarySerialization::read().

UInt64 BLOCXX_NAMESPACE::ntoh64 ( UInt64  v  )  [inline]

Convert a UInt64 value from network byte order to host byte order.

Parameters:
v The UInt64 value to convert
Returns:
The value of v in host byte order.

Definition at line 89 of file ByteSwap.hpp.

Referenced by BLOCXX_NAMESPACE::BinarySerialization::read().

bool BLOCXX_NAMESPACE::operator!= ( const UUID &  x,
const UUID &  y 
)

Definition at line 315 of file UUID.cpp.

bool BLOCXX_NAMESPACE::operator!= ( const Timeout &  x,
const Timeout &  y 
)

Definition at line 125 of file Timeout.cpp.

bool BLOCXX_NAMESPACE::operator!= ( const String &  x,
const StringBuffer &  y 
)

Definition at line 442 of file StringBuffer.cpp.

bool BLOCXX_NAMESPACE::operator!= ( const StringBuffer &  x,
const String &  y 
)

Definition at line 430 of file StringBuffer.cpp.

bool BLOCXX_NAMESPACE::operator!= ( const StringBuffer &  x,
const StringBuffer &  y 
)

Definition at line 418 of file StringBuffer.cpp.

bool BLOCXX_NAMESPACE::operator!= ( const char *  p,
const String &  s 
) [inline]

Definition at line 794 of file String.hpp.

References BLOCXX_NAMESPACE::String::compareTo().

bool BLOCXX_NAMESPACE::operator!= ( const String &  s,
const char *  p 
) [inline]

Definition at line 789 of file String.hpp.

References BLOCXX_NAMESPACE::String::compareTo().

bool BLOCXX_NAMESPACE::operator!= ( const String &  s1,
const String &  s2 
) [inline]

Definition at line 784 of file String.hpp.

References BLOCXX_NAMESPACE::String::compareTo().

template<class T, class U>
bool BLOCXX_NAMESPACE::operator!= ( const Reference< T > &  a,
const Reference< U > &  b 
) [inline]

Definition at line 222 of file Reference.hpp.

References BLOCXX_NAMESPACE::Reference< T >::getPtr().

bool BLOCXX_NAMESPACE::operator!= ( const IstreamBufIterator &  lhs,
const IstreamBufIterator &  rhs 
) [inline]

template<class T>
bool BLOCXX_NAMESPACE::operator!= ( T *  a,
IntrusiveReference< T > const &  b 
) [inline]

template<class T>
bool BLOCXX_NAMESPACE::operator!= ( IntrusiveReference< T > const &  a,
T *  b 
) [inline]

template<class T, class U>
bool BLOCXX_NAMESPACE::operator!= ( IntrusiveReference< T > const &  a,
IntrusiveReference< U > const &  b 
) [inline]

template<class T>
bool BLOCXX_NAMESPACE::operator!= ( const Enumeration_input_iterator< T > &  x,
const Enumeration_input_iterator< T > &  y 
) [inline]

template<class T, class U>
bool BLOCXX_NAMESPACE::operator!= ( const COWReference< T > &  a,
const COWReference< U > &  b 
) [inline]

Definition at line 342 of file COWReference.hpp.

References BLOCXX_NAMESPACE::COWReference< T >::getPtr().

template<class T>
bool BLOCXX_NAMESPACE::operator!= ( const T *  a,
COWIntrusiveReference< T > const &  b 
) [inline]

template<class T>
bool BLOCXX_NAMESPACE::operator!= ( COWIntrusiveReference< T > const &  a,
const T *  b 
) [inline]

template<class T, class U>
bool BLOCXX_NAMESPACE::operator!= ( COWIntrusiveReference< T > const &  a,
COWIntrusiveReference< U > const &  b 
) [inline]

bool BLOCXX_NAMESPACE::operator!= ( char  c,
const Char16 &  arg 
) [inline]

Definition at line 296 of file Char16.hpp.

bool BLOCXX_NAMESPACE::operator!= ( int  v,
const Char16 &  arg 
) [inline]

Definition at line 292 of file Char16.hpp.

References BLOCXX_NAMESPACE::Char16::getValue().

bool BLOCXX_NAMESPACE::operator!= ( const Char16 &  arg,
int  v 
) [inline]

Definition at line 288 of file Char16.hpp.

References BLOCXX_NAMESPACE::Char16::getValue().

template<class T>
bool BLOCXX_NAMESPACE::operator!= ( const Array< T > &  x,
const Array< T > &  y 
) [inline]

Determine two Arrays are not equal.

Two Arrays are considered equal if they are of the same size and elements in the same position are equal as defined by the “==” operator of the type in the Array.

Parameters:
x The first Array object in the comparison.
y The second Array object in the comparison.
Returns:
true if Array x is not equal to Array y.

Definition at line 446 of file Array.hpp.

Char16 BLOCXX_NAMESPACE::operator* ( const Char16 &  arg1,
const Char16 &  arg2 
) [inline]

Definition at line 324 of file Char16.hpp.

References BLOCXX_NAMESPACE::Char16::getValue().

String BLOCXX_NAMESPACE::operator+ ( const String &  s,
char  c 
)

Definition at line 1489 of file String.cpp.

References BLOCXX_NAMESPACE::String::String().

String BLOCXX_NAMESPACE::operator+ ( char  c,
const String &  s 
)

Definition at line 1481 of file String.cpp.

String BLOCXX_NAMESPACE::operator+ ( const String &  s,
const char *  p 
)

Definition at line 1473 of file String.cpp.

String BLOCXX_NAMESPACE::operator+ ( const char *  p,
const String &  s 
)

Definition at line 1465 of file String.cpp.

String BLOCXX_NAMESPACE::operator+ ( const String &  s1,
const String &  s2 
)

Definition at line 1457 of file String.cpp.

Char16 BLOCXX_NAMESPACE::operator+ ( const Char16 &  arg1,
const Char16 &  arg2 
) [inline]

Definition at line 316 of file Char16.hpp.

References BLOCXX_NAMESPACE::Char16::getValue().

DateTime BLOCXX_NAMESPACE::operator- ( DateTime const &  x,
DateTime const &  y 
)

Returns the difference of x and y.

If z is the result, this represents a time difference of z.get() + z.getMicrosecond() * 1.0e-6. Note that z.getMicrosecond() >= 0 is guaranteed.

Definition at line 1337 of file DateTime.cpp.

References BLOCXX_NAMESPACE::DateTime::DateTime(), BLOCXX_NAMESPACE::DateTime::get(), and BLOCXX_NAMESPACE::DateTime::getMicrosecond().

Char16 BLOCXX_NAMESPACE::operator- ( const Char16 &  arg1,
const Char16 &  arg2 
) [inline]

Definition at line 320 of file Char16.hpp.

References BLOCXX_NAMESPACE::Char16::getValue().

Char16 BLOCXX_NAMESPACE::operator/ ( const Char16 &  arg1,
const Char16 &  arg2 
) [inline]

Definition at line 328 of file Char16.hpp.

References BLOCXX_NAMESPACE::Char16::getValue().

bool BLOCXX_NAMESPACE::operator< ( const UUID &  x,
const UUID &  y 
)

Definition at line 310 of file UUID.cpp.

References BLOCXX_NAMESPACE::UUID::m_uuid.

bool BLOCXX_NAMESPACE::operator< ( const char *  p,
const String &  s 
) [inline]

Definition at line 809 of file String.hpp.

bool BLOCXX_NAMESPACE::operator< ( const String &  s,
const char *  p 
) [inline]

Definition at line 804 of file String.hpp.

References BLOCXX_NAMESPACE::String::compareTo().

bool BLOCXX_NAMESPACE::operator< ( const String &  s1,
const String &  s2 
) [inline]

Definition at line 799 of file String.hpp.

References BLOCXX_NAMESPACE::String::compareTo().

template<class T, class Compare>
bool BLOCXX_NAMESPACE::operator< ( const SortedVectorSet< T, Compare > &  x,
const SortedVectorSet< T, Compare > &  y 
) [inline]

Definition at line 244 of file SortedVectorSet.hpp.

template<class Key, class T, class Compare>
bool BLOCXX_NAMESPACE::operator< ( const SortedVectorMap< Key, T, Compare > &  x,
const SortedVectorMap< Key, T, Compare > &  y 
) [inline]

Definition at line 296 of file SortedVectorMap.hpp.

template<class T, class U>
bool BLOCXX_NAMESPACE::operator< ( const Reference< T > &  a,
const Reference< U > &  b 
) [inline]

Definition at line 237 of file Reference.hpp.

template<class Key, class T, class Compare>
bool BLOCXX_NAMESPACE::operator< ( const Map< Key, T, Compare > &  x,
const Map< Key, T, Compare > &  y 
) [inline]

Definition at line 245 of file Map.hpp.

template<class T>
bool BLOCXX_NAMESPACE::operator< ( const List< T > &  x,
const List< T > &  y 
) [inline]

Parameters:
x The first List in the comparison.
x The second List in the comparison.
Returns:
true if the List x is less than List y.

Definition at line 648 of file List.hpp.

template<class T>
bool BLOCXX_NAMESPACE::operator< ( IntrusiveReference< T > const &  a,
IntrusiveReference< T > const &  b 
) [inline]

Definition at line 191 of file IntrusiveReference.hpp.

template<class T, class U>
bool BLOCXX_NAMESPACE::operator< ( const COWReference< T > &  a,
const COWReference< U > &  b 
) [inline]

Definition at line 348 of file COWReference.hpp.

template<class T>
bool BLOCXX_NAMESPACE::operator< ( COWIntrusiveReference< T > const &  a,
COWIntrusiveReference< T > const &  b 
) [inline]

Definition at line 327 of file COWIntrusiveReference.hpp.

bool BLOCXX_NAMESPACE::operator< ( char  c,
const Char16 &  arg 
) [inline]

Definition at line 300 of file Char16.hpp.

template<class T>
bool BLOCXX_NAMESPACE::operator< ( const Array< T > &  x,
const Array< T > &  y 
) [inline]

This is done by doing a lexicographical compare on the Arrays. a lexicographical compare will compares the Arrays element by element until:

  • It finds two corresponding elements unequal, and the result of their comparison is taken as the result of the comparison between sequences.
  • No inequalities are found, but one sequence has more elements than the other, and the shorter sequence is considered less than the longer sequence.
  • No inequalities are found and the sequences have the same number of elements, and so the sequences are equal and the result of the comparison is false.
    Parameters:
    x The first Array object in the comparison.
    y The second Array object in the comparison.
    Returns:
    true if Array x is less than Array y.

Definition at line 439 of file ArrayImpl.hpp.

std::ostream& BLOCXX_NAMESPACE::operator<< ( std::ostream &  ostr,
const StringBuffer &  b 
)

std::ostream& BLOCXX_NAMESPACE::operator<< ( std::ostream &  ostr,
const String &  arg 
)

ostream& BLOCXX_NAMESPACE::operator<< ( ostream &  ostr,
const String &  arg 
)

std::ostream& BLOCXX_NAMESPACE::operator<< ( std::ostream &  os,
const Format &  f 
)

std::ostream & BLOCXX_NAMESPACE::operator<< ( std::ostream &  os,
const Exception &  e 
)

std::ostream & BLOCXX_NAMESPACE::operator<< ( std::ostream &  ostrm,
const Char16 &  arg 
)

Definition at line 90 of file Char16.cpp.

References BLOCXX_NAMESPACE::Char16::getValue(), and val.

std::ostream& BLOCXX_NAMESPACE::operator<< ( std::ostream &  ostrm,
const Bool &  arg 
)

Insert the string representation of a Bool object into a given stream.

Parameters:
ostrm The stream the Bool object will be inserted into.
arg A reference to a bool object to insert into the given stream.
Returns:
A reference to the given output stream (ostrm)

ostream& BLOCXX_NAMESPACE::operator<< ( ostream &  ostrm,
const Bool &  arg 
)

Definition at line 77 of file Bool.cpp.

bool BLOCXX_NAMESPACE::operator<= ( const char *  p,
const String &  s 
) [inline]

Definition at line 824 of file String.hpp.

bool BLOCXX_NAMESPACE::operator<= ( const String &  s,
const char *  p 
) [inline]

Definition at line 819 of file String.hpp.

References BLOCXX_NAMESPACE::String::compareTo().

bool BLOCXX_NAMESPACE::operator<= ( const String &  s1,
const String &  s2 
) [inline]

Definition at line 814 of file String.hpp.

References BLOCXX_NAMESPACE::String::compareTo().

bool BLOCXX_NAMESPACE::operator<= ( char  c,
const Char16 &  arg 
) [inline]

Definition at line 304 of file Char16.hpp.

template<class T>
bool BLOCXX_NAMESPACE::operator<= ( const Array< T > &  x,
const Array< T > &  y 
) [inline]

Determine if one Array is less than or equal to another.

This is done by doing a lexicographical compare on the Arrays. a lexicographical compare will compares the Arrays element by element until:

  • It finds two corresponding elements unequal, and the result of their comparison is taken as the result of the comparison between sequences.
  • No inequalities are found, but one sequence has more elements than the other, and the shorter sequence is considered less than the longer sequence.
  • No inequalities are found and the sequences have the same number of elements, and so the sequences are equal and the result of the comparison is false.
    Parameters:
    x The first Array object in the comparison.
    y The second Array object in the comparison.
    Returns:
    true if Array x is less than or equal to Array y.

Definition at line 469 of file Array.hpp.

bool BLOCXX_NAMESPACE::operator== ( const UUID &  x,
const UUID &  y 
)

Definition at line 305 of file UUID.cpp.

References BLOCXX_NAMESPACE::UUID::m_uuid.

bool BLOCXX_NAMESPACE::operator== ( const Timeout &  x,
const Timeout &  y 
)

bool BLOCXX_NAMESPACE::operator== ( const String &  x,
const StringBuffer &  y 
)

bool BLOCXX_NAMESPACE::operator== ( const StringBuffer &  x,
const String &  y 
)

bool BLOCXX_NAMESPACE::operator== ( const StringBuffer &  x,
const StringBuffer &  y 
)

Definition at line 412 of file StringBuffer.cpp.

References BLOCXX_NAMESPACE::StringBuffer::equals().

bool BLOCXX_NAMESPACE::operator== ( const char *  p,
const String &  s 
) [inline]

Definition at line 779 of file String.hpp.

References BLOCXX_NAMESPACE::String::compareTo().

bool BLOCXX_NAMESPACE::operator== ( const String &  s,
const char *  p 
) [inline]

Definition at line 774 of file String.hpp.

References BLOCXX_NAMESPACE::String::compareTo().

bool BLOCXX_NAMESPACE::operator== ( const String &  s1,
const String &  s2 
) [inline]

Definition at line 769 of file String.hpp.

References BLOCXX_NAMESPACE::String::compareTo().

template<class T, class Compare>
bool BLOCXX_NAMESPACE::operator== ( const SortedVectorSet< T, Compare > &  x,
const SortedVectorSet< T, Compare > &  y 
) [inline]

template<class Key, class T, class Compare>
bool BLOCXX_NAMESPACE::operator== ( const SortedVectorMap< Key, T, Compare > &  x,
const SortedVectorMap< Key, T, Compare > &  y 
) [inline]

template<class T, class U>
bool BLOCXX_NAMESPACE::operator== ( const Reference< T > &  a,
const Reference< U > &  b 
) [inline]

Definition at line 216 of file Reference.hpp.

References BLOCXX_NAMESPACE::Reference< T >::getPtr().

template<class Key, class T, class Compare>
bool BLOCXX_NAMESPACE::operator== ( const Map< Key, T, Compare > &  x,
const Map< Key, T, Compare > &  y 
) [inline]

Definition at line 239 of file Map.hpp.

References BLOCXX_NAMESPACE::Map< Key, T, Compare >::m_impl.

template<class T>
bool BLOCXX_NAMESPACE::operator== ( const List< T > &  x,
const List< T > &  y 
) [inline]

Parameters:
x The first List in the comparison.
x The second List in the comparison.
Returns:
true if the Lists are equal.

Definition at line 643 of file List.hpp.

References BLOCXX_NAMESPACE::List< T >::m_impl.

bool BLOCXX_NAMESPACE::operator== ( const IstreamBufIterator &  lhs,
const IstreamBufIterator &  rhs 
) [inline]

template<class T>
bool BLOCXX_NAMESPACE::operator== ( T *  a,
IntrusiveReference< T > const &  b 
) [inline]

template<class T>
bool BLOCXX_NAMESPACE::operator== ( IntrusiveReference< T > const &  a,
T *  b 
) [inline]

template<class T, class U>
bool BLOCXX_NAMESPACE::operator== ( IntrusiveReference< T > const &  a,
IntrusiveReference< U > const &  b 
) [inline]

template<class T>
bool BLOCXX_NAMESPACE::operator== ( const Enumeration_input_iterator< T > &  x,
const Enumeration_input_iterator< T > &  y 
) [inline]

template<class T, class U>
bool BLOCXX_NAMESPACE::operator== ( const COWReference< T > &  a,
const COWReference< U > &  b 
) [inline]

Definition at line 336 of file COWReference.hpp.

References BLOCXX_NAMESPACE::COWReference< T >::getPtr().

template<class T>
bool BLOCXX_NAMESPACE::operator== ( const T *  a,
COWIntrusiveReference< T > const &  b 
) [inline]

template<class T>
bool BLOCXX_NAMESPACE::operator== ( COWIntrusiveReference< T > const &  a,
const T *  b 
) [inline]

template<class T, class U>
bool BLOCXX_NAMESPACE::operator== ( COWIntrusiveReference< T > const &  a,
COWIntrusiveReference< U > const &  b 
) [inline]

bool BLOCXX_NAMESPACE::operator== ( int  v,
const Char16 &  arg 
) [inline]

Definition at line 284 of file Char16.hpp.

References BLOCXX_NAMESPACE::Char16::getValue().

bool BLOCXX_NAMESPACE::operator== ( const Char16 &  arg,
int  v 
) [inline]

Definition at line 280 of file Char16.hpp.

References BLOCXX_NAMESPACE::Char16::getValue().

bool BLOCXX_NAMESPACE::operator== ( char  c,
const Char16 &  arg 
) [inline]

Definition at line 276 of file Char16.hpp.

template<class T>
bool BLOCXX_NAMESPACE::operator== ( const Array< T > &  x,
const Array< T > &  y 
) [inline]

Two Arrays are considered equal if they are of the same size and elements in the same position are equal as defined by the “==” operator of the type in the Array.

Parameters:
x The first Array object in the comparison.
y The second Array object in the comparison.
Returns:
true if Array x is equal to Array y.

Definition at line 434 of file ArrayImpl.hpp.

References BLOCXX_NAMESPACE::Array< T >::m_impl.

bool BLOCXX_NAMESPACE::operator> ( const char *  p,
const String &  s 
) [inline]

Definition at line 839 of file String.hpp.

bool BLOCXX_NAMESPACE::operator> ( const String &  s,
const char *  p 
) [inline]

Definition at line 834 of file String.hpp.

References BLOCXX_NAMESPACE::String::compareTo().

bool BLOCXX_NAMESPACE::operator> ( const String &  s1,
const String &  s2 
) [inline]

Definition at line 829 of file String.hpp.

References BLOCXX_NAMESPACE::String::compareTo().

bool BLOCXX_NAMESPACE::operator> ( char  c,
const Char16 &  arg 
) [inline]

Definition at line 308 of file Char16.hpp.

template<class T>
bool BLOCXX_NAMESPACE::operator> ( const Array< T > &  x,
const Array< T > &  y 
) [inline]

Determine if one Array is greater than another.

This is done by doing a lexicographical compare on the Arrays. a lexicographical compare will compares the Arrays element by element until:

  • It finds two corresponding elements unequal, and the result of their comparison is taken as the result of the comparison between sequences.
  • No inequalities are found, but one sequence has more elements than the other, and the shorter sequence is considered less than the longer sequence.
  • No inequalities are found and the sequences have the same number of elements, and so the sequences are equal and the result of the comparison is false.
    Parameters:
    x The first Array object in the comparison.
    y The second Array object in the comparison.
    Returns:
    true if Array x is greater than Array y.

Definition at line 515 of file Array.hpp.

bool BLOCXX_NAMESPACE::operator>= ( const char *  p,
const String &  s 
) [inline]

Definition at line 854 of file String.hpp.

bool BLOCXX_NAMESPACE::operator>= ( const String &  s,
const char *  p 
) [inline]

Definition at line 849 of file String.hpp.

References BLOCXX_NAMESPACE::String::compareTo().

bool BLOCXX_NAMESPACE::operator>= ( const String &  s1,
const String &  s2 
) [inline]

Definition at line 844 of file String.hpp.

References BLOCXX_NAMESPACE::String::compareTo().

bool BLOCXX_NAMESPACE::operator>= ( char  c,
const Char16 &  arg 
) [inline]

Definition at line 312 of file Char16.hpp.

template<class T>
bool BLOCXX_NAMESPACE::operator>= ( const Array< T > &  x,
const Array< T > &  y 
) [inline]

Determine if one Array is greater than or equal to another.

This is done by doing a lexicographical compare on the Arrays. a lexicographical compare will compares the Arrays element by element until:

  • It finds two corresponding elements unequal, and the result of their comparison is taken as the result of the comparison between sequences.
  • No inequalities are found, but one sequence has more elements than the other, and the shorter sequence is considered less than the longer sequence.
  • No inequalities are found and the sequences have the same number of elements, and so the sequences are equal and the result of the comparison is false.
    Parameters:
    x The first Array object in the comparison.
    y The second Array object in the comparison.
    Returns:
    true if Array x is greater than or equal to Array y.

Definition at line 492 of file Array.hpp.

void BLOCXX_NAMESPACE::@162::parent_check ( bool  b,
char const *  msg 
) [static]

Definition at line 119 of file PosixExec.cpp.

References BLOCXX_THROW.

Referenced by BLOCXX_NAMESPACE::PosixExec::spawnImpl().

int BLOCXX_NAMESPACE::passDescriptor ( Descriptor  streamPipe,
Descriptor  descriptor,
ProcId  targetProcess = 0 
)

Sends a Descriptor to the peer.

Guaranteed not to throw an exception.

Parameters:
descriptor The Descriptor to send.
Returns:
-1 on I/O error. errno will indicate the specific error.

Definition at line 179 of file DescriptorUtils_noexcept.cpp.

References CMSG_LEN, CMSG_SPACE, and MAGIC_CHAR.

Referenced by BLOCXX_NAMESPACE::PosixUnnamedPipe::passDescriptor().

std::pair<ESecurity, String> BLOCXX_NAMESPACE::@158::path_security ( char const *  path,
UserId  uid 
) [static]

std::pair<ESecurity, String> BLOCXX_NAMESPACE::@158::path_security ( char const *  base_dir,
char const *  rel_path,
uid_t  uid,
bool  bdsecure 
) [static]

Process::Status BLOCXX_NAMESPACE::pollStatusImpl ( ProcId  pid  ) 

Definition at line 637 of file Process.cpp.

References BLOCXX_THROW_ERRNO_MSG.

void BLOCXX_NAMESPACE::readWriteMemoryBarrier (  )  [inline]

This function is solely for the use of libblocxx threading primitives.

No non-library code should need to use this, and if some does it should be rewritten to use the other thread primitives.

Definition at line 52 of file MemoryBarrier.hpp.

Referenced by callOnce().

AutoDescriptor BLOCXX_NAMESPACE::receiveDescriptor ( Descriptor  streamPipe,
char *  errbuf,
size_t  bufsz 
)

Gets a Descriptor from the peer.

Guaranteed not to throw an exception.

Precondition:
errbuf is an array of at least bufsz elements.
Returns:
The Descriptor sent by the peer, if there is no error. On I/O error, or if the peer does not send a Descriptor, returns -1 and writes a null-terminated error message into errbuf.

Definition at line 238 of file DescriptorUtils_noexcept.cpp.

References CMSG_LEN, CMSG_SPACE, copy_error(), and MAGIC_CHAR.

Referenced by BLOCXX_NAMESPACE::PosixUnnamedPipe::receiveDescriptor().

AutoDescriptor BLOCXX_NAMESPACE::receiveDescriptor ( Descriptor  streamPipe  ) 

Gets a Descriptor from the peer.

Returns:
The Descriptor sent by the peer.
Exceptions:
IOException on I/O error or if the peer does not send a Descriptor.

Definition at line 58 of file DescriptorUtils.cpp.

References BLOCXX_THROW, BLOCXX_NAMESPACE::ExceptionDetail::BUFSZ, and BLOCXX_NAMESPACE::AutoResource< Policy >::get().

template<class T>
void BLOCXX_NAMESPACE::RefSwap ( T &  x,
T &  y 
) [inline]

void BLOCXX_NAMESPACE::@285::runRunnable ( const RunnableRef &  work  )  [static]

Definition at line 448 of file ThreadPool.cpp.

References BLOCXX_LOG_ERROR, and BLOCXX_NAMESPACE::Exception::type().

template<typename T, typename U>
void BLOCXX_NAMESPACE::@292::safeAssign ( T &  x,
y 
) [inline, static]

static bool BLOCXX_NAMESPACE::@271::sameId ( const Thread_t &  t1,
const Thread_t &  t2 
) [inline, static]

void BLOCXX_NAMESPACE::@169::set_desc_blocking ( int  d,
EBlockingMode &  bmflag,
EBlockingMode  blocking_mode 
) [static]

void BLOCXX_NAMESPACE::@169::setDefaultKernelBufsz ( Descriptor  sockfd_read,
Descriptor  sockfd_write 
) [static]

void BLOCXX_NAMESPACE::@169::setKernelBufferSize ( Descriptor  sockfd,
int  bufsz,
EDirection  edir 
) [static]

Definition at line 135 of file PosixUnnamedPipe.cpp.

References BLOCXX_INVALID_HANDLE, and E_WRITE_PIPE.

Referenced by setDefaultKernelBufsz().

void BLOCXX_NAMESPACE::@249::shutdownSSL ( SSL *  ssl  )  [static]

void BLOCXX_NAMESPACE::@249::sslWaitForIO ( SocketBaseImpl &  s,
int  type 
) [static]

template<class T, class U>
IntrusiveReference<T> BLOCXX_NAMESPACE::static_pointer_cast ( IntrusiveReference< U > const &  p  )  [inline]

template<class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10>
bool BLOCXX_NAMESPACE::StrictWeakOrdering ( const T1 &  lhs1,
const T1 &  rhs1,
const T2 &  lhs2,
const T2 &  rhs2,
const T3 &  lhs3,
const T3 &  rhs3,
const T4 &  lhs4,
const T4 &  rhs4,
const T5 &  lhs5,
const T5 &  rhs5,
const T6 &  lhs6,
const T6 &  rhs6,
const T7 &  lhs7,
const T7 &  rhs7,
const T8 &  lhs8,
const T8 &  rhs8,
const T9 &  lhs9,
const T9 &  rhs9,
const T10 &  lhs10,
const T10 &  rhs10 
) [inline]

Definition at line 175 of file StrictWeakOrdering.hpp.

References StrictWeakOrdering().

template<class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9>
bool BLOCXX_NAMESPACE::StrictWeakOrdering ( const T1 &  lhs1,
const T1 &  rhs1,
const T2 &  lhs2,
const T2 &  rhs2,
const T3 &  lhs3,
const T3 &  rhs3,
const T4 &  lhs4,
const T4 &  rhs4,
const T5 &  lhs5,
const T5 &  rhs5,
const T6 &  lhs6,
const T6 &  rhs6,
const T7 &  lhs7,
const T7 &  rhs7,
const T8 &  lhs8,
const T8 &  rhs8,
const T9 &  lhs9,
const T9 &  rhs9 
) [inline]

Definition at line 152 of file StrictWeakOrdering.hpp.

References StrictWeakOrdering().

template<class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8>
bool BLOCXX_NAMESPACE::StrictWeakOrdering ( const T1 &  lhs1,
const T1 &  rhs1,
const T2 &  lhs2,
const T2 &  rhs2,
const T3 &  lhs3,
const T3 &  rhs3,
const T4 &  lhs4,
const T4 &  rhs4,
const T5 &  lhs5,
const T5 &  rhs5,
const T6 &  lhs6,
const T6 &  rhs6,
const T7 &  lhs7,
const T7 &  rhs7,
const T8 &  lhs8,
const T8 &  rhs8 
) [inline]

Definition at line 131 of file StrictWeakOrdering.hpp.

References StrictWeakOrdering().

template<class T1, class T2, class T3, class T4, class T5, class T6, class T7>
bool BLOCXX_NAMESPACE::StrictWeakOrdering ( const T1 &  lhs1,
const T1 &  rhs1,
const T2 &  lhs2,
const T2 &  rhs2,
const T3 &  lhs3,
const T3 &  rhs3,
const T4 &  lhs4,
const T4 &  rhs4,
const T5 &  lhs5,
const T5 &  rhs5,
const T6 &  lhs6,
const T6 &  rhs6,
const T7 &  lhs7,
const T7 &  rhs7 
) [inline]

Definition at line 112 of file StrictWeakOrdering.hpp.

References StrictWeakOrdering().

template<class T1, class T2, class T3, class T4, class T5, class T6>
bool BLOCXX_NAMESPACE::StrictWeakOrdering ( const T1 &  lhs1,
const T1 &  rhs1,
const T2 &  lhs2,
const T2 &  rhs2,
const T3 &  lhs3,
const T3 &  rhs3,
const T4 &  lhs4,
const T4 &  rhs4,
const T5 &  lhs5,
const T5 &  rhs5,
const T6 &  lhs6,
const T6 &  rhs6 
) [inline]

Definition at line 95 of file StrictWeakOrdering.hpp.

References StrictWeakOrdering().

template<class T1, class T2, class T3, class T4, class T5>
bool BLOCXX_NAMESPACE::StrictWeakOrdering ( const T1 &  lhs1,
const T1 &  rhs1,
const T2 &  lhs2,
const T2 &  rhs2,
const T3 &  lhs3,
const T3 &  rhs3,
const T4 &  lhs4,
const T4 &  rhs4,
const T5 &  lhs5,
const T5 &  rhs5 
) [inline]

Definition at line 81 of file StrictWeakOrdering.hpp.

References StrictWeakOrdering().

template<class T1, class T2, class T3, class T4>
bool BLOCXX_NAMESPACE::StrictWeakOrdering ( const T1 &  lhs1,
const T1 &  rhs1,
const T2 &  lhs2,
const T2 &  rhs2,
const T3 &  lhs3,
const T3 &  rhs3,
const T4 &  lhs4,
const T4 &  rhs4 
) [inline]

Definition at line 69 of file StrictWeakOrdering.hpp.

References StrictWeakOrdering().

template<class T1, class T2, class T3>
bool BLOCXX_NAMESPACE::StrictWeakOrdering ( const T1 &  lhs1,
const T1 &  rhs1,
const T2 &  lhs2,
const T2 &  rhs2,
const T3 &  lhs3,
const T3 &  rhs3 
) [inline]

Definition at line 59 of file StrictWeakOrdering.hpp.

References StrictWeakOrdering().

template<class T1, class T2>
bool BLOCXX_NAMESPACE::StrictWeakOrdering ( const T1 &  lhs1,
const T1 &  rhs1,
const T2 &  lhs2,
const T2 &  rhs2 
) [inline]

Definition at line 51 of file StrictWeakOrdering.hpp.

References StrictWeakOrdering().

template<class T1>
bool BLOCXX_NAMESPACE::StrictWeakOrdering ( const T1 &  lhs1,
const T1 &  rhs1 
) [inline]

Definition at line 46 of file StrictWeakOrdering.hpp.

Referenced by StrictWeakOrdering().

char const* BLOCXX_NAMESPACE::@158::strip_leading_slashes ( char const *  path  )  [static]

Definition at line 334 of file PathSecurity.cpp.

Referenced by path_security().

static int BLOCXX_NAMESPACE::strncmpi ( const char *  s1,
const char *  s2,
size_t  n 
) [inline, static]

static String BLOCXX_NAMESPACE::substitute_caps ( const PerlRegEx::MatchArray &  sub,
const String &  str,
const String &  rep 
) [static]

template<class T, class Compare>
void BLOCXX_NAMESPACE::swap ( SortedVectorSet< T, Compare > &  x,
SortedVectorSet< T, Compare > &  y 
) [inline]

template<class Key, class T, class Compare>
void BLOCXX_NAMESPACE::swap ( SortedVectorMap< Key, T, Compare > &  x,
SortedVectorMap< Key, T, Compare > &  y 
) [inline]

template<class Key, class T, class Compare>
void BLOCXX_NAMESPACE::swap ( Map< Key, T, Compare > &  x,
Map< Key, T, Compare > &  y 
) [inline]

Definition at line 251 of file Map.hpp.

References BLOCXX_NAMESPACE::Map< Key, T, Compare >::swap().

template<class T>
void BLOCXX_NAMESPACE::swap ( List< T > &  x,
List< T > &  y 
) [inline]

Definition at line 653 of file List.hpp.

References BLOCXX_NAMESPACE::List< T >::swap().

template<class T>
void BLOCXX_NAMESPACE::swap ( IntrusiveReference< T > &  lhs,
IntrusiveReference< T > &  rhs 
) [inline]

template<class T>
void BLOCXX_NAMESPACE::swap ( COWIntrusiveReference< T > &  lhs,
COWIntrusiveReference< T > &  rhs 
) [inline]

template<class T>
void BLOCXX_NAMESPACE::swap ( Array< T > &  x,
Array< T > &  y 
) [inline]

Definition at line 444 of file ArrayImpl.hpp.

References BLOCXX_NAMESPACE::Array< T >::swap().

void BLOCXX_NAMESPACE::@162::throw_child_error ( Exec::PreExec::Error const &  err,
const String &  process_path 
) [static]

void BLOCXX_NAMESPACE::throwArrayOutOfBoundsException ( size_t  size,
size_t  idx 
)

Definition at line 49 of file Array.cpp.

References BLOCXX_THROW.

Referenced by BLOCXX_NAMESPACE::Array< T >::checkValidIndex().

static void BLOCXX_NAMESPACE::throwStringConversion ( const char *  str,
const char *  type 
) [inline, static]

Definition at line 960 of file String.cpp.

References BLOCXX_THROW, and BLOCXX_NAMESPACE::String::c_str().

static void BLOCXX_NAMESPACE::throwStringConversion ( const String::buf_t &  m_buf,
const char *  type 
) [inline, static]

bool BLOCXX_NAMESPACE::@30::timespec_less ( struct timespec const &  x,
struct timespec const &  y 
) [inline, static]

Definition at line 107 of file Condition.cpp.

Referenced by check_timedwait().

char BLOCXX_NAMESPACE::@302::toHexHi ( unsigned char  c  )  [inline, static]

Definition at line 186 of file UUID.cpp.

Referenced by BLOCXX_NAMESPACE::UUID::toString().

char BLOCXX_NAMESPACE::@302::toHexLow ( unsigned char  c  )  [inline, static]

Definition at line 192 of file UUID.cpp.

Referenced by BLOCXX_NAMESPACE::UUID::toString().

int BLOCXX_NAMESPACE::@169::upaccept ( int  s,
struct sockaddr *  addr,
socklen_t *  addrlen 
) [static]

Definition at line 119 of file PosixUnnamedPipe.cpp.

int BLOCXX_NAMESPACE::@169::upclose ( int  fd  )  [static]

void BLOCXX_NAMESPACE::@171::upr_close ( UnnamedPipeRef &  x  )  [inline, static]

Definition at line 435 of file Process.cpp.

Referenced by BLOCXX_NAMESPACE::Process::waitCloseTerm().

::ssize_t BLOCXX_NAMESPACE::@169::upread ( int  fd,
void *  buf,
std::size_t  count 
) [static]

::ssize_t BLOCXX_NAMESPACE::@169::upwrite ( int  fd,
void const *  buf,
std::size_t  count 
) [static]

void BLOCXX_NAMESPACE::@40::validateRanges ( Int32  year,
Int32  month,
Int32  day,
Int32  hour,
Int32  minute,
Int32  second,
Int32  microseconds,
const String &  str 
) [inline, static]

Definition at line 137 of file DateTime.cpp.

References badDateTime().

Referenced by BLOCXX_NAMESPACE::DateTime::DateTime().

static int BLOCXX_NAMESPACE::@245::verify_callback ( int  ok,
X509_STORE_CTX *  store 
) [static]

This callback is called multiple times while processing a cert. Supposedly, it is called at each depth of the cert chain. However, even with a self-signed cert, it is called twice, both times at depth 0. Since we will change the status from NOT_OK to OK, the next time through the preverify status will also be changed. Therefore we need to make sure that we set the status on owctx to failed with any failure, and then that we don't inadvertantly change it to PASS on subsequent calls.

Definition at line 610 of file SSLCtxMgr.cpp.

References BLOCXX_ASSERT, BLOCXX_NAMESPACE::OWSSLContext::peerCertPassedVerify, BLOCXX_NAMESPACE::SSLServerCtx::SSL_DATA_INDEX, BLOCXX_NAMESPACE::OWSSLContext::VERIFY_FAIL, and BLOCXX_NAMESPACE::OWSSLContext::VERIFY_PASS.

Referenced by BLOCXX_NAMESPACE::SSLCtxBase::SSLCtxBase().

void BLOCXX_NAMESPACE::@158::wrapped_lstat ( char const *  path,
struct stat &  st 
) [static]

Definition at line 282 of file PathSecurity.cpp.

References BLOCXX_THROW_ERRNO_MSG, BLOCXX_NAMESPACE::String::c_str(), and LSTAT.

Referenced by path_security().

static Thread_t BLOCXX_NAMESPACE::@271::zeroThread (  )  [static]

Definition at line 90 of file Thread.cpp.


Variable Documentation

Definition at line 46 of file IPCMutex.cpp.

Referenced by BLOCXX_NAMESPACE::IPCMutex::signal().

bool BLOCXX_NAMESPACE::b_gotShutDown = false [static]

const size_t BLOCXX_NAMESPACE::BASE_BUF_SIZE = 256

Definition at line 55 of file BaseStreamBuffer.hpp.

Definition at line 47 of file IPCMutex.cpp.

Referenced by BLOCXX_NAMESPACE::IPCMutex::wait().

const int BLOCXX_NAMESPACE::BLOCXX_SIGABRT = SIGABRT

Definition at line 55 of file SignalScope.hpp.

const int BLOCXX_NAMESPACE::BLOCXX_SIGFPE = SIGFPE

Definition at line 59 of file SignalScope.hpp.

const int BLOCXX_NAMESPACE::BLOCXX_SIGSEGV = SIGSEGV

Definition at line 54 of file SignalScope.hpp.

GlobalString BLOCXX_NAMESPACE::CDATA_EMBEDDED_END = { "]]>" "]]&gt;" "<![CDATA[" , 0, {0, PTHREAD_MUTEX_INITIALIZER} } [static]

Definition at line 218 of file LogMessagePatternFormatter.cpp.

GlobalString BLOCXX_NAMESPACE::CDATA_END = { "]]>" , 0, {0, PTHREAD_MUTEX_INITIALIZER} } [static]

Definition at line 216 of file LogMessagePatternFormatter.cpp.

GlobalString BLOCXX_NAMESPACE::CDATA_PSEUDO_END = { "]]&gt;" , 0, {0, PTHREAD_MUTEX_INITIALIZER} } [static]

Definition at line 217 of file LogMessagePatternFormatter.cpp.

GlobalString BLOCXX_NAMESPACE::CDATA_START = { "<![CDATA[" , 0, {0, PTHREAD_MUTEX_INITIALIZER} } [static]

Definition at line 215 of file LogMessagePatternFormatter.cpp.

const char BLOCXX_NAMESPACE::cnullChar = '\0' [static]

Definition at line 917 of file String.cpp.

Referenced by BLOCXX_NAMESPACE::String::operator[]().

GlobalString BLOCXX_NAMESPACE::COMPONENT_NAME = { "blocxx.dlSharedLibraryLoader" , 0, {0, PTHREAD_MUTEX_INITIALIZER} } [static]

bool BLOCXX_NAMESPACE::currentTimeInited = false [static]

Definition at line 122 of file UUID.cpp.

GlobalMutex BLOCXX_NAMESPACE::dlSharedLibrary_guard = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} }

struct Facilities BLOCXX_NAMESPACE::facilities[] [static]

Definition at line 69 of file SyslogAppender.cpp.

Referenced by BLOCXX_NAMESPACE::SyslogAppender::SyslogAppender().

GlobalMutex BLOCXX_NAMESPACE::fileGuard = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} } [static]

::BLOCXX_NAMESPACE::GlobalPtr<LogAppenderRef,NullAppenderFactory> BLOCXX_NAMESPACE::g_defaultLogAppender = { 0, {0, PTHREAD_MUTEX_INITIALIZER} } [static]

NonRecursiveMutex BLOCXX_NAMESPACE::g_guard = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} } [static]

OnceFlag BLOCXX_NAMESPACE::g_initThreadGuard = {0, PTHREAD_MUTEX_INITIALIZER} [static]

pthread_key_t BLOCXX_NAMESPACE::g_loggerKey [static]

OnceFlag BLOCXX_NAMESPACE::g_onceGuard = {0, PTHREAD_MUTEX_INITIALIZER} [static]

ProcessThread* BLOCXX_NAMESPACE::g_processThread = 0 [static]

LazyGlobal<SSLGlobalWork, int, SSLGlobalWorkFactory> BLOCXX_NAMESPACE::g_SSLGlobalWork = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} } [static]

Definition at line 248 of file SSLCtxMgr.cpp.

Referenced by BLOCXX_NAMESPACE::SSLCtxMgr::initCtx().

uuid_state BLOCXX_NAMESPACE::g_state [static]

Definition at line 78 of file UUID.cpp.

Referenced by BLOCXX_NAMESPACE::UUID::UUID().

LazyGlobal<ThreadPool, int, ZombieReaperPoolCreator> BLOCXX_NAMESPACE::g_zombieReaperPool = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} } [static]

Definition at line 292 of file Process.cpp.

OnceFlag BLOCXX_NAMESPACE::guard = {0, PTHREAD_MUTEX_INITIALIZER} [static]

const size_t BLOCXX_NAMESPACE::HTTP_BUF_SIZE = 4096

Definition at line 56 of file BaseStreamBuffer.hpp.

const int BLOCXX_NAMESPACE::LOCAL_TIME_OFFSET = -24 [static]

Definition at line 415 of file DateTime.cpp.

Referenced by BLOCXX_NAMESPACE::DateTime::DateTime().

char const BLOCXX_NAMESPACE::LOG_1_FLUSH_opt[] = "log.%1.flush"

Definition at line 73 of file LogAppender.cpp.

char const BLOCXX_NAMESPACE::LOG_1_LOCATION_opt[] = "log.%1.location"

Definition at line 70 of file LogAppender.cpp.

char const BLOCXX_NAMESPACE::LOG_1_MAX_BACKUP_INDEX_opt[] = "log.%1.max_backup_index"

Definition at line 72 of file LogAppender.cpp.

char const BLOCXX_NAMESPACE::LOG_1_MAX_FILE_SIZE_opt[] = "log.%1.max_file_size"

Definition at line 71 of file LogAppender.cpp.

char const BLOCXX_NAMESPACE::LOG_1_SYSLOG_FACILITY_opt[] = "log.%1.facility"

Definition at line 75 of file LogAppender.cpp.

char const BLOCXX_NAMESPACE::LOG_1_SYSLOG_IDENTITY_opt[] = "log.%1.identity"

Definition at line 74 of file LogAppender.cpp.

char BLOCXX_NAMESPACE::log_ident[255] [static]

Definition at line 60 of file SyslogAppender.cpp.

Referenced by BLOCXX_NAMESPACE::SyslogAppender::SyslogAppender().

SSLLibraryInit_t BLOCXX_NAMESPACE::m_initState = BLOCXX_SSL_LIBRARY_NOT_INITIALIZED [static]

Definition at line 169 of file SSLCtxMgr.cpp.

GlobalMutex BLOCXX_NAMESPACE::m_initStateGuard = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} } [static]

Definition at line 170 of file SSLCtxMgr.cpp.

SSLLocks_t BLOCXX_NAMESPACE::m_locksState = BLOCXX_SSL_LOCKS_NOT_USED [static]

Definition at line 178 of file SSLCtxMgr.cpp.

GlobalMutex BLOCXX_NAMESPACE::m_locksStateGuard = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} } [static]

Definition at line 179 of file SSLCtxMgr.cpp.

GlobalMutex BLOCXX_NAMESPACE::m_mapGuard = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} } [static]

char const BLOCXX_NAMESPACE::MAGIC_CHAR = '\xa5' [static]

Definition at line 65 of file DescriptorUtils_noexcept.cpp.

Referenced by passDescriptor(), and receiveDescriptor().

unsigned const BLOCXX_NAMESPACE::MAX_SYMBOLIC_LINKS = 100 [static]

Definition at line 60 of file PathSecurity.cpp.

Definition at line 54 of file MD5.cpp.

Referenced by BLOCXX_NAMESPACE::MD5::convertBinToHex().

Definition at line 83 of file MD5.hpp.

Referenced by BLOCXX_NAMESPACE::MD5::convertBinToHex().

Definition at line 98 of file SSLCtxMgr.cpp.

unsigned char BLOCXX_NAMESPACE::nodeId[6] [static]

Definition at line 147 of file UUID.cpp.

bool BLOCXX_NAMESPACE::nodeIdInitDone = false [static]

Definition at line 148 of file UUID.cpp.

char BLOCXX_NAMESPACE::nullChar = '\0' [static]

Definition at line 932 of file String.cpp.

Referenced by BLOCXX_NAMESPACE::String::operator[]().

Thread_t BLOCXX_NAMESPACE::NULLTHREAD = zeroThread() [static]

unsigned char BLOCXX_NAMESPACE::PADDING[64] [static]

Initial value:

 {
   0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
}

Definition at line 202 of file MD5.cpp.

Referenced by BLOCXX_NAMESPACE::MD5::MD5Final().

const int BLOCXX_NAMESPACE::REG_NOERROR = 0 [static]

unsigned int BLOCXX_NAMESPACE::seed = 0 [static]

GlobalMutex BLOCXX_NAMESPACE::shutdownMutex = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} } [static]

GlobalMutex BLOCXX_NAMESPACE::syslogGuard = { 0 , 0, {0, PTHREAD_MUTEX_INITIALIZER} } [static]

const char* BLOCXX_NAMESPACE::TERM_MESSAGE = "Terminate Process" [static]

Definition at line 86 of file Process.cpp.

Definition at line 120 of file UUID.cpp.

Definition at line 121 of file UUID.cpp.


Generated on Wed Feb 25 19:05:01 2009 for blocxx by  doxygen 1.5.6