Classes | |
| class | AbstractBuffer |
| An abstract base class for buffers. More... | |
| class | AllocationMap |
| An index allocation map. More... | |
| class | Application |
| Base functionality for an application, including command-line argument parsing and a shutdown handler. More... | |
| class | Array |
| A simple object wrapper for arrays. More... | |
| class | AsyncIOPoller |
| A class that polls a set of AsyncIOTask objects. More... | |
| class | AsyncIOTask |
| An object representing an asynchronous I/O operation. More... | |
| class | AtomicCounter |
| An integer counter whose value is modified in an atomic fashion. More... | |
| class | Base64 |
| Base-64 encoding and decoding routines. More... | |
| class | BasicBufferedStream |
| A buffered stream. More... | |
| class | BasicChar |
| A class representing a character. More... | |
| struct | BasicCharTraits |
| Character traits. More... | |
| class | BasicString |
| A flexible, reference counted, copy-on-write, thread-safe, nullable string. More... | |
| class | BasicStringVec |
| A String vector. More... | |
| class | BitSet |
| A compact representation of an array of bits (boolean values). More... | |
| class | Blob |
| A reference-counting, copy-on-write, threadsafe container for arbitrary binary data. More... | |
| class | BoundedQueue |
| A bounded, threadsafe FIFO processing queue. More... | |
| class | BTree |
| A balanced, n-ary tree data structure for storing key/value relationships. More... | |
| class | Buffer |
| A buffer for storing a contiguous sequence of elements. More... | |
| class | ByteArrayDataReader |
| A DataReader which reads data from a byte array. More... | |
| class | ByteArrayDataWriter |
| A DataWriter which writes data to a byte array. More... | |
| class | ByteBufferDataReader |
| A DataReader which reads data from a ByteBuffer. More... | |
| class | ByteBufferDataWriter |
| A DataWriter which writes data to a ByteBuffer. More... | |
| class | ByteOrder |
| Byte-order conversion routines. More... | |
| class | CharsetConverter |
| Character set converter. More... | |
| class | Checksum |
| A base class for checksum generators. More... | |
| class | CircularBuffer |
| A circular buffer that can be used to efficiently transfer data between buffers and/or streams. More... | |
| class | CondVar |
| A condition variable -- a synchronization mechanism used to coordinate the actions of multiple threads. More... | |
| class | Console |
| A class that provides basic control of the console, such as changing text attributes, clearing the screen, and moving the cursor. More... | |
| class | ConsoleLogger |
| A logger that writes to the console (the standard error stream). More... | |
| class | CPUStats |
| System CPU utilization statistics. More... | |
| class | CRC32Checksum |
| A class for generating CRC-32 checksums. More... | |
| class | CriticalSection |
| A critical section, a synchronization primitive that is typically more efficient than but roughly semantically equivalent to a Mutex. More... | |
| class | CStringBuilder |
| A utility class for constructing C-style strings. More... | |
| class | CStringLessThanFunctor |
| A "less than" comparator for C strings. More... | |
| class | DataEncoder |
| An abstract class with basic functionality that is common to all data decoders (readers) and data encoders (writers). More... | |
| class | DataFormatException |
| An exception indicating a data format error. More... | |
| class | DatagramSocket |
| A User Datagram (UDP) socket. More... | |
| class | DataReader |
| An abstract base class for data readers. More... | |
| class | DataWriter |
| An abstract base class for data writers. More... | |
| class | Date |
| A representation of a calendar date. More... | |
| class | DateTime |
| A representation of a calendar date and clock time. More... | |
| class | DateTimeFormat |
| A formatter for dates and times. More... | |
| struct | DeleteFunctor |
| A functor that deletes its argument. More... | |
| class | Dir |
| Directory reading support. More... | |
| class | DirectoryWatcher |
| A class that watches for changes in a given directory. More... | |
| class | DynamicArray |
| A simple object wrapper for dynamically-allocated arrays. More... | |
| class | DynamicObjectPool |
| An object pool that dynamically allocates its objects. More... | |
| class | EventHandler |
| A functor for event-handler callbacks. More... | |
| class | EventHandlerDelegate |
| An implementation of EventHandler that delegates to a method in an object. More... | |
| class | Exception |
| A general-purpose exception. More... | |
| struct | FileAttributes |
| File attributes. More... | |
| class | File |
| A representation of a file in the filesystem. More... | |
| class | FileLogger |
| A logger that writes to a file, and can optionally perform log rotation. More... | |
| class | FileName |
| A class representing a filename. More... | |
| class | FilePtr |
| A smart pointer for stdio streams. More... | |
| class | FileTraverser |
| A depth- or breadth-first file traverser. More... | |
| class | Hex |
| Routines for ASCII hex encoding and decoding. More... | |
| class | HostNotFoundException |
| An exception indicating a hostname resolution failure or malformed IP address string. More... | |
| class | InetAddress |
| An IPv4 Internet address. More... | |
| class | EnumTraits |
| A class of functions that describe traits of an enumeration. More... | |
| class | InterruptedException |
| An exception indicating that a blocking operation was interrupted. More... | |
| class | IntervalTimer |
| A high-precision interval timer that does not require blocking or polling from a dedicated thread. More... | |
| class | InvalidArgumentException |
| An exception indicating that an invalid argument was passed to a function. More... | |
| class | IOException |
| An exception indicating an I/O error. More... | |
| class | EOFException |
| An exception indicating an end-of-file condition for a file stream or a broken connection for a socket or pipe. More... | |
| class | TimeoutException |
| An exception indicating a timed-out I/O operation. More... | |
| class | PathNotFoundException |
| An exception indicating a file or directory was not found. More... | |
| class | Iterator |
| A Java-style iterator. More... | |
| class | JavaBuffer |
| An implementation of Buffer representing a Java direct buffer. More... | |
| struct | JavaNativeMethod |
| A structure representing a Java native method. More... | |
| class | JavaContext |
When the Invocation Interface is being used (that is, when a C++ program calls into Java code), the getContext() method of the JavaVirtualMachine class is used to obtain an appropriate JavaContext object. More... | |
| class | JavaException |
| A base class for all Java Virtual Machine exceptions. More... | |
| class | JavaSignatureException |
| An exception indicating that a Java method signature string was malformed. More... | |
| class | JavaClassNotFoundException |
| An exception indicating that a requested Java class was not found. More... | |
| class | JavaMethodNotFoundException |
| An exception indicating that a requested method of a Java class was not found. More... | |
| class | JavaFieldNotFoundException |
| An exception indicating that a requested field of a Java class was not found. More... | |
| class | JavaInstantiationException |
| An exception indicating that an error occurred while instantiating a Java class. More... | |
| class | JavaInvocationException |
| An exception indicating that a Java exception occurred while invoking a Java method. More... | |
| class | JavaFieldAccessException |
| An exception indicating an attempt at an invalid field access. More... | |
| class | JavaArrayAccessException |
| An exception indicating an attempt to store a value of an inappropriate type into a Java array. More... | |
| class | JavaOutOfMemoryException |
| An exception indicating exhaustion of heap space in the Java Virtual Machine. More... | |
| class | JavaMonitorException |
| An exception indicating an illegal monitor state. More... | |
| class | JavaThreadException |
| An exception indicating a native thread attach or detach operation failed. More... | |
| class | JavaNotAttachedException |
| An exception indicating that a call was made from a native thread that is not attached to the JVM. More... | |
| class | JavaScope |
| A convenience class for creating lexical Java scopes in native code. More... | |
| class | JavaThreadLocalBuffer |
| Thread-local Java direct buffer. More... | |
| class | JavaVirtualMachine |
| An object that encapsulates (most of) the Java Native Interface (JNI) to a Java Virtual Machine. More... | |
| class | LoadableModule |
| An encapsulation of a dynamically loadable module, such as a shared library or object file on UNIX systems or a DLL on Windows. More... | |
| class | LoadAverageStats |
| System "load average" statistics. More... | |
| class | Locale |
| A class that encapsulates locale-specific information. More... | |
| class | Lock |
| An abstract base class for synchronization primitives. More... | |
| class | LogFunctor |
| Logging adapter object (for internal library use only). More... | |
| class | Log |
| Logging routines. More... | |
| class | LogFormat |
| A log message formatter. More... | |
| class | Logger |
| An abstract base class for threadsafe loggers. More... | |
| class | MACAddress |
| A network hardware (MAC) address. More... | |
| class | MD5Digest |
| A class for generating MD5 digests. More... | |
| class | MD5Password |
| MD5-hash password encryption and validation routines. More... | |
| class | MemoryBlock |
| An encapsulation of a block of memory. More... | |
| class | MemoryMappedFile |
| An abstraction of a memory-mapped file. More... | |
| class | MemoryStats |
| System memory utilization statistics. More... | |
| class | MulticastSocket |
| A UDP multicast socket. More... | |
| class | Mutex |
| A mutual-exclusion lock. More... | |
| class | Network |
| Network-related routines. More... | |
| class | NetworkInterface |
| An aggregation of information about a network interface. More... | |
| class | NullPointerException |
| An exception indicating an attempt to dereference a null pointer. More... | |
| class | ObjectPoolException |
| An exception indicating an ObjectPool error. More... | |
| class | ObjectPool |
| A base class for object pools. More... | |
| class | OutOfBoundsException |
| An exception indicating that an attempted operation would result in an out-of-range array index access or a buffer overflow/underflow. More... | |
| class | ParseException |
| An exception indicating a parsing error. More... | |
| class | Permissions |
| File permissions. More... | |
| class | Plugin |
| A class representing a dynamically loaded plugin. More... | |
| class | PluginLoader |
| A convenience class for loading Plugin objects. More... | |
| class | ExitStatus |
| The exit status of a process. More... | |
| class | Process |
| A system process. More... | |
| class | ProgressTracker |
| An interface for tracking the progress of a lengthy operation. More... | |
| class | ProgressTrackerDelegate |
| An implementation of ProgressTracker that delegates to a method in an object. More... | |
| class | PulseTimer |
| A timer that fires at regular intervals, with a resolution of 1 second. More... | |
| class | Random |
| A random number generator. More... | |
| class | ReadWriteLock |
| A Read/Write lock -- a synchronization primitive that allows multiple threads to coordinate access to a mutable resource. More... | |
| class | RefSet |
| A reference-counted set. More... | |
| class | RegExpMatch |
| A regular expression substring match. More... | |
| class | RegExp |
| A regular expression. More... | |
| class | Runnable |
| A runnable object. More... | |
| class | RunnableDelegate |
| An adapter object that implements the Runnable interface and delegates to an arbitrary method (one that must have no arguments or return value) in some other object. More... | |
| class | ScopedLock |
| A convenience object for lexical scope based synchronization. More... | |
| class | ScopedPtr |
| A non-copyable scoped pointer. More... | |
| class | ScopedReadLock |
| A convenience object for lexical scope based synchronization. More... | |
| class | ScopedWriteLock |
| A convenience object for lexical scope based synchronization. More... | |
| class | SearchPath |
| A file search path. More... | |
| class | Semaphore |
| A counting semaphore -- a synchronization primitive that allows multiple processes to coordinate access to a shared resource. More... | |
| class | SerialPort |
| A class representing a serial communications port. More... | |
| class | ServerSocket |
| A server (listening) socket for StreamSocket (TCP) connections. More... | |
| class | ServerStreamPipe |
| A server (listening) pipe for StreamPipe connections. More... | |
| class | Service |
| Basic functionality for a system service, such as a daemon on UNIX or an "NT Service" on Windows. More... | |
| class | SharedMemoryBlock |
| An encapsulation of a block of memory that can be mapped by one or more (not necessarily related) processes; when one process changes the data in the block, the changes are immediately visible to the other processes. More... | |
| class | SharedPtr |
| A threadsafe, reference-counting smart pointer. More... | |
| class | Socket |
| A base class for network sockets. More... | |
| class | SocketAddress |
| A socket endpoint network address. More... | |
| class | SocketException |
| A general-purpose socket exception. More... | |
| class | SocketIOException |
| A general-purose socket I/O exception. More... | |
| class | ConnectionRefusedException |
| An exception indicating that a connection attempt was refused because there was no process listening on the remote port. More... | |
| class | AddressInUseException |
| An exception indicating that a socket address could not be bound because it is already in use. More... | |
| class | Connection |
| An abstract object representing a network connection. More... | |
| class | SocketMuxer |
| A socket I/O multiplexer. More... | |
| class | ResultSet |
| A database result set. More... | |
| class | PreparedStatement |
| A precompiled SQL statement that can be efficiently executed multiple times. More... | |
| class | SQLDatabase |
| A class representing a session with an embedded SQL database. More... | |
| class | ScopedTransaction |
| A scoped database transaction. More... | |
| class | SQLException |
| An exception indicating a SQL database error. More... | |
| class | StaticObjectPool |
| An object pool that allocates (presumably fixed-size) objects in a contiguous memory buffer. More... | |
| class | Stream |
| An unbuffered I/O stream. More... | |
| class | StreamDataReader |
| A DataReader which reads data from a Stream. More... | |
| class | StreamDataWriter |
| A DataWriter which writes data to a Stream. More... | |
| class | StreamPipe |
| A full-duplex stream pipe. More... | |
| class | StreamSocket |
| A reliable, connection-oriented stream (TCP) socket. More... | |
| class | System |
| Various system-level utility functions. More... | |
| class | SystemException |
| A system-level exception. More... | |
| class | SystemLog |
| The system event log. More... | |
| class | SystemStats |
| A collector of system performance or resource utilization statistics. More... | |
| class | TempFile |
| A temporary file that may optionally "shadow" another file. More... | |
| class | Thread |
| A thread of execution. More... | |
| class | ThreadLocal |
| Thread-local storage smart pointer. More... | |
| class | ThreadLocalBuffer |
| Thread-local data buffer. More... | |
| class | ThreadLocalCounter |
| Thread-local numeric counter. More... | |
| class | Time |
| A representation of a clock time. More... | |
| class | Timer |
| A stopwatch-style timer. More... | |
| class | TimeSpan |
| A span of time (a delta), represented in milliseconds. More... | |
| class | TimeSpec |
| A time specification, such as that used by cron servers. More... | |
| class | UnsupportedOperationException |
| An exception indicating that an attempted operation is not supported. More... | |
| class | URL |
| A class representing a URL (Uniform Resource Locator). More... | |
| class | UUID |
| A universally unique identifier. More... | |
| class | Variant |
| A general-purpose variant type. More... | |
| class | Version |
| A class representing an interface version number. More... | |
| class | XDRDecoder |
| A decoder for XDR, the eXternal Data Representation format. More... | |
| class | XDREncoder |
| An encoder for XDR, the eXternal Data Representation format. More... | |
| class | XMLDocument |
| An object representing an XML document. More... | |
| class | XMLElement |
| An object representing an XML element. More... | |
| class | XMLElementConstIterator |
| An XMLElement const iterator. More... | |
| class | XMLElementIterator |
| An XMLElement iterator. More... | |
Typedefs | |
| typedef BasicBufferedStream< char > | BufferedCharStream |
| typedef BasicBufferedStream < byte_t > | BufferedByteStream |
| typedef BasicChar< char > | Char |
| An ASCII character. | |
| typedef BasicChar< wchar_t > | WChar |
| A wide (Unicode) character. | |
| typedef BasicCharTraits< char > | CharTraits |
| ASCII character traits. | |
| typedef BasicCharTraits< wchar_t > | WCharTraits |
| Wide (Unicode) character traits. | |
| typedef Buffer< byte_t > | ByteBuffer |
| typedef Buffer< char > | CharBuffer |
| typedef BasicBufferedStream< char > | BufferedStream |
| typedef BasicBufferedStream < wchar_t > | BufferedWStream |
| typedef CircularBuffer< byte_t > | CircularByteBuffer |
| typedef CircularBuffer< char > | CircularCharBuffer |
| typedef pid_t | ProcessHandle |
| typedef pid_t | ProcessID |
| typedef pthread_t | ThreadHandle |
| typedef pthread_t | ThreadID |
| typedef int | FileHandle |
| typedef unsigned char | byte_t |
| typedef unsigned int | uint_t |
| typedef int32_t | time_s_t |
| A time expressed in seconds since the epoch (00:00:00, UTC, January 1, 1970). | |
| typedef int64_t | time_ms_t |
| A time expressed in milliseconds since the epoch (00:00:00, UTC, January 1, 1970). | |
| typedef int | SocketHandle |
| typedef BasicString< char > | String |
| An ASCII String. | |
| typedef BasicStringVec< char > | StringVec |
| A String vector. | |
| typedef BasicString< wchar_t > | WString |
| A wide (Unicode) String. | |
| typedef BasicStringVec< wchar_t > | WStringVec |
| A WString vector. | |
| typedef ThreadLocalBuffer< byte_t > | ThreadLocalByteBuffer |
Enumerations | |
| enum | Priority { PrioLowest, PrioLow, PrioNormal, PrioHigh, PrioHighest } |
| Thread and Process prority levels. More... | |
| enum | Endianness { BigEndian = 0, LittleEndian = 1 } |
| Byte endianness. More... | |
| enum | FileType { TypeFile, TypeDir, TypeSymLink, TypePipe, TypeDevice, TypeOther, TypeUnknown } |
| enum | FileOpenMode { FileOpenElseCreate, FileOpen, FileCreate, FileTruncate, FileTruncateElseCreate } |
| enum | LockType { LockRead, LockWrite } |
| enum | LogLevel { LogDebug = 0x01, LogInfo = 0x02, LogWarning = 0x04, LogError = 0x08 } |
| enum | NetProtocol { ProtoAny, ProtoTCP, ProtoUDP } |
| enum | IOMode { IORead, IOWrite, IOReadWrite } |
| enum | SeekMode { SeekAbsolute, SeekRelative, SeekEnd } |
Functions | |
| static void | __unhandledExceptionHandler () |
| static void | __unexpectedExceptionHandler () |
| static int | __getGMTOffset () |
| static struct tm * | localtime_r (const time_t *timep, struct tm *result) |
| static void | __cleanup_logger_singletons (void) |
| static size_t | __bsnputs (char *buf, size_t maxlen, const char *str) |
| static size_t | __bsnputsf (char *buf, size_t maxlen, const char *str) |
| static size_t | __bvsnprintf (char *buf, size_t maxlen, const char *fmt, va_list vp) |
| static size_t | __bsnprintf (char *buf, size_t maxlen, const char *fmt,...) |
| static void | __to64 (char *s, unsigned long v, int n) |
| static int | copyNameArray (char **src, char *buf, size_t bufsz) |
| static int | copyAddrArray (char **src, char *buf, size_t addrsz, size_t bufsz) |
| static struct hostent * | copyStructHostent (struct hostent *rhe, struct hostent *result, char *buffer, int buflen) |
| static struct servent * | copyStructServent (struct servent *rse, struct servent *result, char *buffer, int buflen) |
| static bool | __static_init (void) |
| const TimeSpan | operator+ (const TimeSpan &s1, const TimeSpan &s2) throw () |
| const TimeSpan | operator+ (const TimeSpan &s1, int64_t s2) throw () |
| const TimeSpan | operator+ (int64_t s1, const TimeSpan &s2) throw () |
| const TimeSpan | operator- (const TimeSpan &s1, const TimeSpan &s2) throw () |
| const TimeSpan | operator- (const TimeSpan &s1, int64_t s2) throw () |
| const TimeSpan | operator- (int64_t s1, const TimeSpan &s2) throw () |
| template<typename T > | |
| bool | operator== (T c1, const BasicChar< T > &c2) |
| template<typename T > | |
| bool | operator!= (T c1, const BasicChar< T > &c2) |
| template<typename T > | |
| bool | operator< (T c1, const BasicChar< T > &c2) |
| template<typename T > | |
| bool | operator<= (T c1, const BasicChar< T > &c2) |
| template<typename T > | |
| bool | operator> (T c1, const BasicChar< T > &c2) |
| template<typename T > | |
| bool | operator>= (T c1, const BasicChar< T > &c2) |
| template<typename T > | |
| bool | operator== (const BasicString< T > &s1, const BasicString< T > &s2) throw () |
| template<typename T > | |
| bool | operator== (const BasicString< T > &s1, const T *s2) throw () |
| template<typename T > | |
| bool | operator== (const T *s1, const BasicString< T > &s2) throw () |
| template<typename T > | |
| bool | operator!= (const BasicString< T > &s1, const BasicString< T > &s2) throw () |
| template<typename T > | |
| bool | operator!= (const BasicString< T > &s1, const T *s2) throw () |
| template<typename T > | |
| bool | operator!= (const T *s1, const BasicString< T > &s2) throw () |
| template<typename T > | |
| bool | operator< (const BasicString< T > &s1, const BasicString< T > &s2) throw () |
| template<typename T > | |
| bool | operator< (const BasicString< T > &s1, const T *s2) throw () |
| template<typename T > | |
| bool | operator< (const T *s1, const BasicString< T > &s2) throw () |
| template<typename T > | |
| bool | operator> (const BasicString< T > &s1, const BasicString< T > &s2) throw () |
| template<typename T > | |
| bool | operator> (const BasicString< T > &s1, const T *s2) throw () |
| template<typename T > | |
| bool | operator> (const T *s1, const BasicString< T > &s2) throw () |
| template<typename T > | |
| bool | operator<= (const BasicString< T > &s1, const BasicString< T > &s2) throw () |
| template<typename T > | |
| bool | operator<= (const BasicString< T > &s1, const T *s2) throw () |
| template<typename T > | |
| bool | operator<= (const T *s1, const BasicString< T > &s2) throw () |
| template<typename T > | |
| bool | operator>= (const BasicString< T > &s1, const BasicString< T > &s2) throw () |
| template<typename T > | |
| bool | operator>= (const BasicString< T > &s1, const T *s2) throw () |
| template<typename T > | |
| bool | operator>= (const T *s1, const BasicString< T > &s2) throw () |
| template<typename T > | |
| BasicString< T > | operator+ (const T *s1, const BasicString< T > &s2) |
| template<typename T > | |
| BasicString< T > | operator+ (T c, const BasicString< T > &s) |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &stream, const BasicString< T > &s) |
| std::ostream & | operator<< (std::ostream &stream, const BitSet &bs) |
| bool | operator== (const Blob &b1, const Blob &b2) throw () |
| bool | operator!= (const Blob &b1, const Blob &b2) throw () |
| bool | operator< (const Blob &b1, const Blob &b2) throw () |
| bool | operator> (const Blob &b1, const Blob &b2) throw () |
| bool | operator<= (const Blob &b1, const Blob &b2) throw () |
| bool | operator>= (const Blob &b1, const Blob &b2) throw () |
| std::ostream & | operator<< (std::ostream &stream, const Blob &b) |
| const TimeSpan | operator- (const DateTime &d1, const DateTime &d2) throw () |
| const DateTime | operator- (const DateTime &d, const TimeSpan &ts) |
| const DateTime | operator+ (const DateTime &d, const TimeSpan &ts) |
| std::ostream & | operator<< (std::ostream &stream, const Exception &ex) |
| Write an exception to a stream. | |
| std::ostream & | operator<< (std::ostream &stream, const InetAddress &a) |
| template<typename T , typename E > | |
| E | enum_cast (T val) |
| Safe enumeration cast. | |
| template<typename T , typename E > | |
| E | enum_cast (T val, E defval) |
| Safe enumeration cast. | |
| template<typename S , typename T > | |
| T | numeric_cast (S value) throw (OutOfBoundsException) |
| A range-checked numeric cast. | |
| template<typename S , typename T > | |
| T | numeric_clipping_cast (S value) throw () |
| A range-clipping numeric cast. | |
| template<typename T > | |
| T | numeric_clip (T value, T min, T max) throw () |
| A numeric range-clipping function. | |
| uint_t | operator| (const Permissions &perm, const uint_t rhs) throw () |
| uint_t | operator& (const Permissions &perm, const uint_t rhs) throw () |
| template<class T > | |
| void | swap (ScopedPtr< T > &a, ScopedPtr< T > &b) throw () |
| Swap two ScopedPtr values. | |
| std::ostream & | operator<< (std::ostream &stream, const SocketAddress &a) |
| std::ostream & | operator<< (std::ostream &stream, const Variant &v) |
| Write a Variant to an output stream. | |
| std::ostream & | operator<< (std::ostream &stream, const Version &v) |
Variables | |
| static const char * | __base64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" |
| static int | __tuplesPerLine = 19 |
| static int | __bytesPerLine = __tuplesPerLine * 3 |
| static const int32_t | __firstN [] |
| static const int32_t | __lastN [] |
| static const uint32_t | crc32_table [] |
| static const uint_t | __daysInMonth [] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 } |
| static const uint_t | __daysInYearAccum [] = { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 } |
| static const uint_t | __daysInLeapYearAccum [] = {0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335 } |
| static const int | __GMTOffset = __getGMTOffset() |
| static bool | disable_cleanup = false |
| static int | cleanup_init = atexit(__cleanup_logger_singletons) |
| static const char | _formatTokens [] |
| static const char | _levelTokens [] |
| static const char * | __itoa64 |
| static const char * | __magic = "$1$" |
| static const char * | __protoNames [] = { NULL, "tcp", "udp" } |
| static const int | OPCODES_PER_PROGRESS_CALLBACK = 1000 |
| static bool | __static_init_flag = __static_init() |
| static long | __msPerTick = 1000 / ::sysconf(_SC_CLK_TCK) |
| static const char * | __unreserved |
| static const size_t | ALIGNMENT = 4 |
| static const char * | __escapeChars = "<>&" |
| typedef BasicBufferedStream<byte_t> BufferedByteStream |
| typedef BasicBufferedStream<char> BufferedCharStream |
| typedef BasicBufferedStream<char> BufferedStream |
| typedef BasicBufferedStream<wchar_t> BufferedWStream |
| typedef unsigned char byte_t |
| typedef Buffer<byte_t> ByteBuffer |
| typedef Buffer<char> CharBuffer |
| typedef BasicCharTraits< char > CharTraits |
ASCII character traits.
| typedef CircularBuffer<byte_t> CircularByteBuffer |
| typedef CircularBuffer<char> CircularCharBuffer |
| typedef int FileHandle |
| typedef pid_t ProcessHandle |
| typedef pid_t ProcessID |
| typedef int SocketHandle |
| commoncpp::BasicString< char > String |
An ASCII String.
| commoncpp::BasicStringVec< char > StringVec |
A String vector.
| typedef pthread_t ThreadHandle |
| typedef pthread_t ThreadID |
| typedef ThreadLocalBuffer<byte_t> ThreadLocalByteBuffer |
A time expressed in milliseconds since the epoch (00:00:00, UTC, January 1, 1970).
A time expressed in seconds since the epoch (00:00:00, UTC, January 1, 1970).
| typedef unsigned int uint_t |
| typedef BasicCharTraits< wchar_t > WCharTraits |
Wide (Unicode) character traits.
| BasicString< wchar_t > WString |
A wide (Unicode) String.
| commoncpp::BasicStringVec< wchar_t > WStringVec |
A WString vector.
| enum Endianness |
| enum FileOpenMode |
| enum FileType |
| enum IOMode |
| enum LockType |
| enum LogLevel |
| enum NetProtocol |
| enum Priority |
| enum SeekMode |
| static size_t ccxx::__bsnprintf | ( | char * | buf, | |
| size_t | maxlen, | |||
| const char * | fmt, | |||
| ... | ||||
| ) | [static] |
| static size_t ccxx::__bsnputs | ( | char * | buf, | |
| size_t | maxlen, | |||
| const char * | str | |||
| ) | [static] |
| static size_t ccxx::__bsnputsf | ( | char * | buf, | |
| size_t | maxlen, | |||
| const char * | str | |||
| ) | [static] |
| static size_t ccxx::__bvsnprintf | ( | char * | buf, | |
| size_t | maxlen, | |||
| const char * | fmt, | |||
| va_list | vp | |||
| ) | [static] |
| static void ccxx::__cleanup_logger_singletons | ( | void | ) | [static] |
| static int ccxx::__getGMTOffset | ( | ) | [static] |
| static bool ccxx::__static_init | ( | void | ) | [static] |
| static void ccxx::__to64 | ( | char * | s, | |
| unsigned long | v, | |||
| int | n | |||
| ) | [static] |
| static void ccxx::__unexpectedExceptionHandler | ( | ) | [static] |
| static void ccxx::__unhandledExceptionHandler | ( | ) | [static] |
| static int ccxx::copyAddrArray | ( | char ** | src, | |
| char * | buf, | |||
| size_t | addrsz, | |||
| size_t | bufsz | |||
| ) | [static] |
| static int ccxx::copyNameArray | ( | char ** | src, | |
| char * | buf, | |||
| size_t | bufsz | |||
| ) | [static] |
| static struct hostent* ccxx::copyStructHostent | ( | struct hostent * | rhe, | |
| struct hostent * | result, | |||
| char * | buffer, | |||
| int | buflen | |||
| ) | [static, read] |
| static struct servent* ccxx::copyStructServent | ( | struct servent * | rse, | |
| struct servent * | result, | |||
| char * | buffer, | |||
| int | buflen | |||
| ) | [static, read] |
| E ccxx::enum_cast | ( | T | val, | |
| E | defval | |||
| ) | [inline] |
Safe enumeration cast.
Casts a value of type T to an enumeration of type E, ensuring that the value returned is a valid one for E. It is assumed that the values in the enumeration E are sequential integers, that is, that there are no "gaps" in the range.
| val | The value to cast. | |
| defval | The default enumeration value to return, if the passed-in value is not a valid one for the enumeration. |
| E ccxx::enum_cast | ( | T | val | ) | [inline] |
Safe enumeration cast.
Casts a value of type T to an enumeration of type E, ensuring that the value returned is a valid one for E. It is assumed that the values in the enumeration E are sequential integers, that is, that there are no "gaps" in the range.
| val | The value to cast. |
| static struct tm* ccxx::localtime_r | ( | const time_t * | timep, | |
| struct tm * | result | |||
| ) | [static, read] |
| T ccxx::numeric_cast | ( | S | value | ) | throw (OutOfBoundsException) [inline] |
A range-checked numeric cast.
If the value is outside the range of the target type, an exception is thrown.
| value | The value to cast. |
| OutOfBoundsException | If the value is outside the range of the target type. |
| T ccxx::numeric_clip | ( | T | value, | |
| T | min, | |||
| T | max | |||
| ) | throw () [inline] |
A numeric range-clipping function.
If the value is outside the specified range, it is clipped.
| value | The value to cast. | |
| min | The lower bound of the allowed range. | |
| max | The upper bound of the allowed range. |
| T ccxx::numeric_clipping_cast | ( | S | value | ) | throw () [inline] |
A range-clipping numeric cast.
If the value is outside the range of the target type, it is clipped.
| value | The value to cast. |
| bool ccxx::operator!= | ( | const Blob & | b1, | |
| const Blob & | b2 | |||
| ) | throw () [inline] |
| bool ccxx::operator!= | ( | const T * | s1, | |
| const BasicString< T > & | s2 | |||
| ) | throw () [inline] |
| bool ccxx::operator!= | ( | const BasicString< T > & | s1, | |
| const T * | s2 | |||
| ) | throw () [inline] |
| bool ccxx::operator!= | ( | const BasicString< T > & | s1, | |
| const BasicString< T > & | s2 | |||
| ) | throw () [inline] |
| bool ccxx::operator!= | ( | T | c1, | |
| const BasicChar< T > & | c2 | |||
| ) | [inline] |
| uint_t ccxx::operator& | ( | const Permissions & | perm, | |
| const uint_t | rhs | |||
| ) | throw () [inline] |
| const DateTime ccxx::operator+ | ( | const DateTime & | d, | |
| const TimeSpan & | ts | |||
| ) | [inline] |
| BasicString<T> ccxx::operator+ | ( | T | c, | |
| const BasicString< T > & | s | |||
| ) | [inline] |
| BasicString<T> ccxx::operator+ | ( | const T * | s1, | |
| const BasicString< T > & | s2 | |||
| ) | [inline] |
| const TimeSpan ccxx::operator+ | ( | int64_t | s1, | |
| const TimeSpan & | s2 | |||
| ) | throw () |
| const TimeSpan ccxx::operator+ | ( | const TimeSpan & | s1, | |
| int64_t | s2 | |||
| ) | throw () |
| const TimeSpan ccxx::operator+ | ( | const TimeSpan & | s1, | |
| const TimeSpan & | s2 | |||
| ) | throw () |
| const DateTime ccxx::operator- | ( | const DateTime & | d, | |
| const TimeSpan & | ts | |||
| ) | [inline] |
| const TimeSpan ccxx::operator- | ( | const DateTime & | d1, | |
| const DateTime & | d2 | |||
| ) | throw () [inline] |
| const TimeSpan ccxx::operator- | ( | int64_t | s1, | |
| const TimeSpan & | s2 | |||
| ) | throw () |
| const TimeSpan ccxx::operator- | ( | const TimeSpan & | s1, | |
| int64_t | s2 | |||
| ) | throw () |
| const TimeSpan ccxx::operator- | ( | const TimeSpan & | s1, | |
| const TimeSpan & | s2 | |||
| ) | throw () |
| bool ccxx::operator< | ( | const Blob & | b1, | |
| const Blob & | b2 | |||
| ) | throw () [inline] |
| bool ccxx::operator< | ( | const T * | s1, | |
| const BasicString< T > & | s2 | |||
| ) | throw () [inline] |
| bool ccxx::operator< | ( | const BasicString< T > & | s1, | |
| const T * | s2 | |||
| ) | throw () [inline] |
| bool ccxx::operator< | ( | const BasicString< T > & | s1, | |
| const BasicString< T > & | s2 | |||
| ) | throw () [inline] |
| bool ccxx::operator< | ( | T | c1, | |
| const BasicChar< T > & | c2 | |||
| ) | [inline] |
| std::ostream& ccxx::operator<< | ( | std::ostream & | stream, | |
| const Version & | v | |||
| ) | [inline] |
| std::ostream& ccxx::operator<< | ( | std::ostream & | stream, | |
| const Variant & | v | |||
| ) | [inline] |
Write a Variant to an output stream.
| stream | The stream to write to. | |
| v | The variant to write. |
| std::ostream& ccxx::operator<< | ( | std::ostream & | stream, | |
| const SocketAddress & | a | |||
| ) | [inline] |
| std::ostream& ccxx::operator<< | ( | std::ostream & | stream, | |
| const InetAddress & | a | |||
| ) | [inline] |
| std::ostream& ccxx::operator<< | ( | std::ostream & | stream, | |
| const Exception & | ex | |||
| ) | [inline] |
Write an exception to a stream.
| std::ostream& ccxx::operator<< | ( | std::ostream & | stream, | |
| const Blob & | b | |||
| ) | [inline] |
| std::ostream& ccxx::operator<< | ( | std::ostream & | stream, | |
| const BitSet & | bs | |||
| ) | [inline] |
| std::ostream& ccxx::operator<< | ( | std::ostream & | stream, | |
| const BasicString< T > & | s | |||
| ) | [inline] |
| bool ccxx::operator<= | ( | const Blob & | b1, | |
| const Blob & | b2 | |||
| ) | throw () [inline] |
| bool ccxx::operator<= | ( | const T * | s1, | |
| const BasicString< T > & | s2 | |||
| ) | throw () [inline] |
| bool ccxx::operator<= | ( | const BasicString< T > & | s1, | |
| const T * | s2 | |||
| ) | throw () [inline] |
| bool ccxx::operator<= | ( | const BasicString< T > & | s1, | |
| const BasicString< T > & | s2 | |||
| ) | throw () [inline] |
| bool ccxx::operator<= | ( | T | c1, | |
| const BasicChar< T > & | c2 | |||
| ) | [inline] |
| bool ccxx::operator== | ( | const Blob & | b1, | |
| const Blob & | b2 | |||
| ) | throw () [inline] |
| bool ccxx::operator== | ( | const T * | s1, | |
| const BasicString< T > & | s2 | |||
| ) | throw () [inline] |
| bool ccxx::operator== | ( | const BasicString< T > & | s1, | |
| const T * | s2 | |||
| ) | throw () [inline] |
| bool ccxx::operator== | ( | const BasicString< T > & | s1, | |
| const BasicString< T > & | s2 | |||
| ) | throw () [inline] |
| bool ccxx::operator== | ( | T | c1, | |
| const BasicChar< T > & | c2 | |||
| ) | [inline] |
| bool ccxx::operator> | ( | const Blob & | b1, | |
| const Blob & | b2 | |||
| ) | throw () [inline] |
| bool ccxx::operator> | ( | const T * | s1, | |
| const BasicString< T > & | s2 | |||
| ) | throw () [inline] |
| bool ccxx::operator> | ( | const BasicString< T > & | s1, | |
| const T * | s2 | |||
| ) | throw () [inline] |
| bool ccxx::operator> | ( | const BasicString< T > & | s1, | |
| const BasicString< T > & | s2 | |||
| ) | throw () [inline] |
| bool ccxx::operator> | ( | T | c1, | |
| const BasicChar< T > & | c2 | |||
| ) | [inline] |
| bool ccxx::operator>= | ( | const Blob & | b1, | |
| const Blob & | b2 | |||
| ) | throw () [inline] |
| bool ccxx::operator>= | ( | const T * | s1, | |
| const BasicString< T > & | s2 | |||
| ) | throw () [inline] |
| bool ccxx::operator>= | ( | const BasicString< T > & | s1, | |
| const T * | s2 | |||
| ) | throw () [inline] |
| bool ccxx::operator>= | ( | const BasicString< T > & | s1, | |
| const BasicString< T > & | s2 | |||
| ) | throw () [inline] |
| bool ccxx::operator>= | ( | T | c1, | |
| const BasicChar< T > & | c2 | |||
| ) | [inline] |
| uint_t ccxx::operator| | ( | const Permissions & | perm, | |
| const uint_t | rhs | |||
| ) | throw () [inline] |
| void ccxx::swap | ( | ScopedPtr< T > & | a, | |
| ScopedPtr< T > & | b | |||
| ) | throw () [inline] |
Swap two ScopedPtr values.
const char* __base64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" [static] |
int __bytesPerLine = __tuplesPerLine * 3 [static] |
const uint_t __daysInLeapYearAccum[] = {0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335 } [static] |
const uint_t __daysInMonth[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 } [static] |
const uint_t __daysInYearAccum[] = { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 } [static] |
const char* __escapeChars = "<>&" [static] |
const int32_t __firstN[] [static] |
Initial value:
{ 0x00000000,
0x00000001, 0x00000003, 0x00000007, 0x0000000F,
0x0000001F, 0x0000003F, 0x0000007F, 0x000000FF,
0x000001FF, 0x000003FF, 0x000007FF, 0x00000FFF,
0x00001FFF, 0x00003FFF, 0x00007FFF, 0x0000FFFF,
0x0001FFFF, 0x0003FFFF, 0x0007FFFF, 0x000FFFFF,
0x001FFFFF, 0x003FFFFF, 0x007FFFFF, 0x00FFFFFF,
0x01FFFFFF, 0x03FFFFFF, 0x07FFFFFF, 0x0FFFFFFF,
0x1FFFFFFF, 0x3FFFFFFF, 0x7FFFFFFF, 0xFFFFFFFF }
const int __GMTOffset = __getGMTOffset() [static] |
const char* __itoa64 [static] |
Initial value:
"./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
const int32_t __lastN[] [static] |
Initial value:
{ 0x00000000,
0x80000000, 0xC0000000, 0xE0000000, 0xF0000000,
0xF8000000, 0xFC000000, 0xFE000000, 0xFF000000,
0xFF800000, 0xFFC00000, 0xFFE00000, 0xFFF00000,
0xFFF80000, 0xFFFC0000, 0xFFFE0000, 0xFFFF0000,
0xFFFF8000, 0xFFFFC000, 0xFFFFE000, 0xFFFFF000,
0xFFFFF800, 0xFFFFFC00, 0xFFFFFE00, 0xFFFFFF00,
0xFFFFFF80, 0xFFFFFFC0, 0xFFFFFFE0, 0xFFFFFFF0,
0xFFFFFFF8, 0xFFFFFFFC, 0xFFFFFFFE, 0xFFFFFFFF }
const char* __magic = "$1$" [static] |
long __msPerTick = 1000 / ::sysconf(_SC_CLK_TCK) [static] |
const char* __protoNames[] = { NULL, "tcp", "udp" } [static] |
bool __static_init_flag = __static_init() [static] |
int __tuplesPerLine = 19 [static] |
const char* __unreserved [static] |
Initial value:
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz" "0123456789" "-+_.~/"
const char _formatTokens[] [static] |
Initial value:
{ '=', 'T', 't', 'D', 'd', 'F', 'L', 'm',
'h', 'p', 'o', 'a', 'v', 'u', 'H', 'l',
'%', '*', '_', '#', '-', '0', '1', '2',
'3', '4', '5', '6', '7', '8', '.', '@',
'n', 'A' }
const char _levelTokens[] [static] |
static const size_t ALIGNMENT = 4 [static] |
int cleanup_init = atexit(__cleanup_logger_singletons) [static] |
const uint32_t crc32_table[] [static] |
bool disable_cleanup = false [static] |
const int OPCODES_PER_PROGRESS_CALLBACK = 1000 [static] |
1.5.9