ost(3)

πŸ“¦ version 1.8.1, in ubuntu jammy

πŸŽ€ ost πŸŽ€

okay bestie, welcome to ost(3) β€” yes that's section 3 of the Library Functions Manual, the cute little corner of the man pages where the C library functions live. pull up a chair, grab a boba, we're doing this πŸ’…


✨ NAME ✨

ost


that's it. that's the name. ost. no cap, no extra words, the page just says its own name and moves on β€” iconic honestly πŸ¦‹

stay tuned tho, because there's a whole lot more coming and you're gonna wanna see it πŸ‘€

✨ SYNOPSIS ✨

okay bestie, buckle UP, because this is the master list of every class this library is serving, and there are so many of them πŸ’… each one gets a lil one-liner so you know exactly what vibe it's bringing.


🌈 Classes 🌈

  • class AppLog β€” Application logger is a class that implements a logger that can be used by applications to save log file somewhere on the system. your apps journaling their whole life, iconic behavior πŸŽ€
  • class Assoc β€” This class is used to associate (object) pointers with named strings. matching names to pointer besties, no cap ✨
  • class AtomicCounter β€” The AtomicCounter class offers thread-safe manipulation of an integer counter. counter go up, counter go down, threads never fight over it 🫢
  • class BaseObject β€” BaseObject. that's it. that's the whole description, and honestly? slay, minimalism ate πŸ’…
  • class Buffer β€” The buffer class represents an IPC service that is built upon a buffer of fixed capacity that can be used to transfer objects between one or more producer and consumer threads. fixed-capacity baddie moving objects between producers and consumers πŸ¦‹
  • class Cancellation β€” A class to automatically set the thread cancellation mode of a member function. sets the mode for you, zero effort required πŸ’–
  • class ChecksumDigest β€” A simple checksum digest function. simple. digest. checksum. periodt 🌸
  • struct cistring_char_traits β€” no description given, it's just vibing there, mysterious main character energy πŸ‘‘
  • class CommandOption β€” CommandOption is the base class for all command line options. the blueprint every CLI flag descends from πŸ’…
  • class CommandOptionArg β€” Class for options with an argument e.g. takes a lil something-something along with the flag ✨
  • class CommandOptionCollect β€” It only makes sense to have a single one of these set and it is also exclusive with CommandOptionRest. one only, and it does NOT share the spotlight with CommandOptionRest 🚫
  • class CommandOptionNoArg β€” CommandOption type for flags. no arg, just vibes, pure boolean energy πŸ’€
  • class CommandOptionParse β€” This is the CommandOptionParse interface class. the interface, the contract, the whole mood πŸ”₯
  • class CommandOptionRest β€” It only makes sense to have a single one of these set and it is also exclusive with CommandOptionCollect. same deal as its rival: one only, and never with CommandOptionCollect πŸ™ˆ
  • class CommandOptionWithArg β€” Derived class of CommandOption for options that have a value associated with them. flags that come with a whole plus-one πŸ’œ
  • class Conditional β€” A conditional variable synchcronization object for one to one and one to many signal and control events between processes. signaling across processes, one-to-one and one-to-many, the social butterfly of sync objects πŸ¦‹
  • class Counter β€” The counter template is used for generic objects which act as automatic counters. generic auto-counting, it just does it πŸŽ€
  • class CRC16Digest β€” A crc16 collection/compution hash accumulator class. crc16 accumulation, collecting and computing 🌈
  • class CRC32Digest β€” A crc32 collection/computation hash accumulator class. crc32 edition, same energy, more bits ⭐
  • class Date β€” The Date class uses a julian date representation of the current year, month, and day. julian date representation of year/month/day, keeping it old-school πŸ’…
  • class DateNumber β€” A number class that manipulates a string buffer that is also a date. a number that's secretly a date, double life fr fr 😭
  • class Datetime β€” The Datetime class uses a julian date representation of the current year, month, and day and a integer representation of the current time. julian date for the day, integer for the time, both at once, multitasking queen πŸ‘‘
  • class DCCPSocket β€” DCCP sockets are used for stream based connected sessions between two sockets. stream-based connected sessions between two sockets πŸ’–
  • class Digest β€” The digest base class is used for implementing and deriving one way hashing functions. the base class for one-way hashing, the ancestor of all the digests 🌸
  • class Dir β€” A low level portable directory class. low level, portable, directories, we love to see it ✨
  • class DirTree β€” A generic class to walk a hierarchical directory structure. walking the whole tree structure like it's a runway πŸ’…
  • class DSO β€” The DSO dynamic loader class is used to load object files. loading object files dynamically, popping off πŸ”₯
  • class Engine β€” Engine. just Engine. iconic, mysterious, no notes πŸŽ€
  • class Event β€” The Event class implements a feature originally found in the WIN32 API; event notification. straight from the WIN32 API, event notification, retro but make it serve πŸ’œ
  • class File β€” no description given, it's just File, being File, the moment πŸ¦‹
  • class FixedBuffer β€” A buffer class that holds a known capacity of fixed sized objects defined during creation. capacity locked in at creation time, fixed-size objects only 🫢
  • class HEXdump β€” Produces a dump of a buffer in a hexdump way with its code Ascii translation and relative buffer address. hex + ascii + relative buffer address, the full aesthetic 😭
  • class IPV4Address β€” The network name and address objects are all derived from a common IPV4Address base class. the common ancestor every network name and address object descends from 🌈
  • class IPV4Broadcast β€” The broadcast address object is used to store the broadcast address for a specific subnet. storing the broadcast address for a specific subnet, doing its one job πŸ’…
  • class IPV4Cidr β€” The CIDR class is used to support routing tables and validate address policies. routing tables + address policy validation, the responsible one ⭐
  • class IPV4Host β€” This object is used to hold the actual and valid internet address of a specific host machine that will be accessed through a socket. holding the real, valid internet address of a host you'll reach through a socket πŸ’–
  • class IPV4Mask β€” Internet addresses used specifically as masking addresses (such as ' 255.255.255.0') are held in the IPV4Mask derived object. " masking addresses like 255.255.255.0 live right here πŸŽ€
  • class IPV4Multicast β€” A specialization of IPV4Address that provides address validation for multicast addresses. IPV4Address but specialized for multicast validation 🌸
  • class IPV4MulticastValidator β€” Class for the function object that validates multicast addresses. the function object that does the multicast validating πŸ’…
  • class IPV4Validator β€” Classes derived from IPV4Address would require an specific validator to pass to the IPV4Address constructor. derived classes gotta hand a specific validator to the IPV4Address constructor, rules are rules ✨
  • class IPV6Address β€” The network name and address objects are all derived from a common IPV6Address base class. same deal as v4, but make it IPV6, the common base class πŸ¦‹
  • class IPV6Broadcast β€” The broadcast address object is used to store the broadcast address for a specific subnet. broadcast address for a specific subnet, holding it down πŸ’œ
  • class IPV6Cidr β€” The CIDR class is used to support routing tables and validate address policies. routing tables and address policy validation, v6 flavor πŸ”₯
  • class IPV6Host β€” This object is used to hold the actual and valid internet address of a specific host machine that will be accessed through a socket. the actual valid internet address of a host, socket-bound πŸ‘‘
  • class IPV6Mask β€” Internet addresses used specifically as masking addresses (such as ' 255.255.255.0') are held in the IPV6Mask derived object. " masking addresses like 255.255.255.0 but in the IPV6Mask derived object πŸŽ€
  • class IPV6Multicast β€” A specialization of IPV6Address that provides address validation for multicast addresses. specialized IPV6Address with multicast validation on board 🌈
  • class IPV6MulticastValidator β€” Class for the function object that validates multicast addresses. the multicast-validating function object, v6 edition ⭐
  • class IPV6Validator β€” Classes derived from IPV6Address would require an specific validator to pass to the IPV6Address constructor. derived classes must pass a specific validator to the IPV6Address constructor, no skipping πŸ’…
  • class IZStream β€” no description given, it's just out here existing, z-streaming silently πŸ¦‹
  • class Keydata β€” Keydata objects are used to load and hold 'configuration' data for a given application. loading and holding an app's config data, the keeper of secrets πŸŽ€
  • class keyMap β€” no description given, a quiet little keymap just doing its thing πŸ’œ
  • class LinkedDouble β€” Self managed double linked list object chain. self-managed doubly linked chain, handling itself fr fr ✨
  • class LinkedSingle β€” Self managed single linked list object chain. single linked version, still fully self-managed πŸ’–
  • class Lockfile β€” This class is used to create a 'named' lock entity that can be used to control access to a resource between multiple processes. named lock entities keeping multiple processes from stepping on each other 🌸
  • class MapIndex β€” The MapIndex allows linear access into a MapTable, that otherwise could have its elements being retrieved only by key. linear access into a MapTable that normally only gives you elements by key, glow up πŸ”₯
  • class MapObject β€” The MapObject is a base class which can be used to make a derived class operate on a MapTable. base class so your derived class can operate on a MapTable πŸ’…
  • class MappedFile β€” Create and map a disk file into memory. disk file β†’ memory, mapped, done πŸ‘‘
  • class MapTable β€” A map table allows for entities to be mapped (hash index) onto it. entities get hash-indexed onto it, mapping behavior πŸ¦‹
  • class MD5Digest β€” A md5 collection/computation accululator class. md5 accumulating, collecting, computing, the whole trio 🌈
  • class MemPager β€” The memory pager is used to allocate cumulative memory pages for storing object specific 'persistant' data that is presumed to persist during the life of a given derived object. cumulative memory pages for object-specific 'persistant' data that lives as long as the derived object does ⭐
  • class MemPagerObject β€” This class is used to create derived classes which are constructed within a memory pager pool. derived classes get constructed inside a memory pager pool, cozy πŸ’œ
  • class MIMEFormData β€” This is a document part type for use in submitting multipart form data to a web server. a document part type for shipping multipart form data to a web server πŸŽ€
  • class MIMEItemPart β€” This is used to attach an item part to a MIME multipart document that is being streamed. attaching an item part to a MIME multipart doc mid-stream ✨
  • class MIMEMultipart β€” A container class for multi-part MIME document objects which can be streamed to a std::ostream destination. container for multi-part MIME docs, streamable straight to a std::ostream πŸ’…
  • class MIMEMultipartForm β€” The Multipart form is a MIME multipart document specific for the construction and delivery of form data to a web server through a post method. purpose-built MIME multipart for building and delivering form data to a web server via post 🫢
  • class Mutex β€” The Mutex class is used to protect a section of code so that at any given time only a single thread can perform the protected operation. one thread at a time in the protected section, no line-jumping πŸ’–
  • class MutexCounter β€” The Mutex Counter is a counter variable which can safely be incremented or decremented by multiple threads. a counter that many threads can safely bump up and down, team effort 🌸
  • class MutexLock β€” The MutexLock class is used to protect a section of code so that at any given time only a single thread can perform the protected operation. same protection energy, single-thread-at-a-time, locked in πŸ”₯
  • class NetworkDeviceInfo β€” Network device information class. it's the class. for network device info. it tells you things πŸŽ€
  • class Number β€” A number manipulation class. numbers, manipulated, that's the pitch πŸ’œ
  • class objCounter β€” Generic template class for creating classes which maintain an active count of the number of instances currently in active use. template that keeps a live count of how many instances are currently in use, keeping tabs πŸ‘‘
  • class objList β€” Used to create and manage a single linked list of objects of a common type. single linked list of same-type objects, managed for you πŸ¦‹
  • class objMap β€” Used to create and manage a hash index of objects through a common type. hash index of objects, all through a common type ⭐
  • class objSync β€” Generic template to create objects of a common base type which share a static mutex so that all instances of the class have a global lock. every instance shares one static mutex, so the whole class gets a global lock 🌈
  • class OZStream β€” no description given, sitting quietly next to its sibling IZStream, mysterious πŸ’…
  • class Pointer β€” Used to create and manage referece counted pointers. reference counted pointers, created and managed, no leaks no drama πŸ’–
  • class PosixThread β€” no description given, it's a PosixThread, it's threading, it's posix, iconic πŸŽ€
  • class Process β€” A class for containing portable process related functions that help create portable code. portable process functions so your code stays portable, helpful king 🫢
  • class RandomFile β€” The purpose of this class is to define a base class for low level random file access that is portable between Win32 and Posix systems. base class for low level random file access that travels between Win32 and Posix πŸ’œ
  • class ReadLock β€” The ReadLock class is used to protect a section of code through a ThreadLock for 'read' access to the member function. locks a code section via a ThreadLock for 'read' access to the member function 🌸
  • class RefObject β€” A reference countable object. countable by reference, that's the whole personality πŸ”₯
  • class RefPointer β€” Pointer to reference counted objects. a pointer that points at reference counted objects, doing the pointing πŸ‘‘
  • class Runable β€” A container for objects that can be queued against a runlist. holds objects that can be queued up against a runlist πŸ¦‹
  • class Runlist β€” A runlist is used to restrict concurrent exection to a limited set of concurrent sessions, much like a semaphore. caps concurrent execution to a limited set of sessions, semaphore-adjacent behavior ⭐
  • class Semaphore β€” A semaphore is generally used as a synchronization object between multiple threads or to protect a limited and finite resource such as a memory or thread pool. syncs threads or guards a limited finite resource like a memory or thread pool 🌈
  • class SemaphoreLock β€” The SemaphoreLock class is used to protect a section of code through a semaphore so that only x instances of the member function may execute concurrently. protects a section so only x instances of the member function run at once, math but make it safe πŸ’…
  • class Serial β€” The Serial class is used as the base for all serial I/O services under APE. the base for every serial I/O service under APE, founding mother πŸ’–
  • class SerialPort β€” The serial port is an internal class which is attached to and then serviced by a specified SerialService thread. internal class, attached to and serviced by a specified SerialService thread πŸŽ€
  • class SerialService β€” The SerialService is a thead service object that is meant to service attached serial ports. a thread service object that services whatever serial ports are attached 🫢
  • class SharedFile β€” This class defines a database I/O file service that can be shared by multiple processes. a database I/O file service shared across multiple processes, generous 🌸
  • class SharedMemPager β€” The shared mempager uses a mutex to protect key access methods. shared mempager with a mutex guarding the key access methods πŸ”₯
  • class SimpleTCPStream β€” Simple TCP Stream, to be used with Common C++ Library. simple TCP stream, built for the Common C++ Library, uncomplicated and proud πŸ‘‘
  • class Slog β€” The slog class is used to stream messages to the system's logging facility (syslogd). streams your messages to syslogd, the system logging facility πŸ¦‹
  • class Socket β€” The Socket is used as the base for all Internet protocol services under Common C++. the base for every Internet protocol service under Common C++, the blueprint ⭐
  • class SocketPort β€” The socket port is an internal class which is attached to and then serviced by a specific SocketService 'object'. internal class, attached to and serviced by a specific SocketService 'object' 🌈
  • class SocketService β€” The SocketService is a thread pool object that is meant to service

bestie we are NOT done yet, there is so much more coming, stay with me πŸ’…βœ¨

attached socket ports. (yep, that's the tail end of the entry right above β€” we're picking up mid-list, no big deal, just vibing 🫢)

  • class SSLStream β€” listed here with no blurb attached, so we're respecting the mystery ✨
  • class SString β€” also serving silent, iconic, no notes πŸ’…
  • class StackPager β€” this one is a whole repository for stashing and grabbing your working data in last-in-first-out order. Stack behavior, stack energy πŸ“š
  • class String β€” a generic and portable string class. Your everyday string bestie πŸŽ€
  • class StringObject β€” you use this one to derive subclasses that lean on the String managed memory pool for all space allocations, by overriding the new and delete operators. Memory pool queen πŸ‘‘
  • class StringTokenizer β€” splits a delimited string into tokens. Snip snip βœ‚οΈ
  • class SysTime β€” your access point to the non-reentrant date and time functions sitting in the standard C library ⏰
  • class TCPSession β€” primarily there to represent a client connection that can be managed on a separate thread 🧡
  • class TCPSocket β€” TCP sockets are for stream based connected sessions between two sockets πŸ”Œ
  • class TCPStream β€” TCP streams represent TCP client connections to a server, used by TCP protocol servers for accepting client connections 🌊
  • class TCPV6Socket β€” TCPV6 sockets are for stream based connected sessions between two ipv6 sockets πŸ’«
  • class Thread β€” every single thread of execution in an application gets created by instantiating an object of a class derived from the Thread class. That's the whole vibe 🧡✨
  • class ThreadFile β€” defines a database I/O file service that multiple threads can share 🀝
  • class ThreadKey β€” lets you create a thread context unique 'pointer' that you can set and retrieve, and you can use it to build thread specific data areas for implementing 'thread safe' library routines πŸ”‘
  • class ThreadLock β€” impliments a thread rwlock for optimal reader performance on systems that have rwlock support, and falls back to a simple mutex for the systems that don't. Adaptable queen πŸ”’
  • class ThreadQueue β€” a somewhat generic queue processing class, there to establish a producer consumer queue πŸ“₯πŸ“€
  • class Time β€” uses an integer representation of the current time πŸ”’
  • class TimerPort β€” timer ports give you synchronized timing events when they're managed under a 'service thread' like SocketService ⏱️
  • class TTYSession β€” aggragates a TTYStream and a Common C++ Thread, which is assumed to be the execution context that'll be doing the actual I/O operations πŸ–₯️
  • class TTYStream β€” TTY streams represent serial connections that are fully 'streamable' objects, using C++ stream classes and friends 🌈
  • class ttystream β€” a more natural C++ 'ttystream' class, made for non-threaded applications πŸ“
  • class TypeManager β€” manages the types for generation of the persistent objects πŸ—‚οΈ
  • class UDPBroadcast β€” represents a UDP socket used for subnet broadcasts, and gives you an alternate binding plus setPeer() capability for UDP sockets πŸ“‘
  • class UDPDuplex β€” UDP duplex connections impliment a bi-directional point-to-point UDP session between two peer hosts πŸ”„
  • class UDPReceive β€” one half of a two-way UDP connection: the UDP receiver can receive data from another peer host or from a subnet πŸ“¨
  • class UDPSocket β€” UDP sockets implement the TCP SOCK_DGRAM UDP protocol 🎯
  • class UDPTransmit β€” the other half of a two-way UDP connection: the UDP transmitter can broadcast data to another selected peer host or to an entire subnet πŸ“’
  • class UnixSession β€” the Unix domain session is used primarily to represent a client connection that can be managed on a separate thread 🧡
  • class UnixSocket β€” Unix domain sockets are for stream based connected sessions between processes on the same machine 🏠
  • class unixstream β€” a more natural C++ 'unixstream' class for non-threaded applications πŸ¦‹
  • class UnixStream β€” Unix streams represent Unix domain client connections to a local server, for accepting client connections πŸŒ‰
  • class URLStream β€” a URL processing version of TCPStream πŸ”—
  • class WriteLock β€” used to protect a section of code through a ThreadLock, for 'write' access to the member function ✍️
  • class XMLRPC β€” impliments a core XMLRPC service without the underlying transports πŸ“¦
  • class XMLStream β€” impliments a basic XML stream parser that you can use to examine an XML resource thru virtual I/O methods πŸ”
  • class ZNumber β€” no blurb here either. Mysterious. We love that for them πŸ«₯

✨ Typedefs ✨

  • typedef unsigned short tpport_t β€” Transport Protocol Ports. The port type, right there πŸ’…
  • typedef unsigned long pos_t β€” a position type, unsigned long flavored πŸ“
  • typedef size_t ccxx_size_t β€” size type, all dressed up πŸ“
  • typedef std::string_char_traits< char > cstring_char_traits β€” the char traits for cstring πŸŽ€
  • typedef std::basic_string< char > cstring β€” your plain basic string of char 🧡
  • typedef std::basic_string< char, cistring_char_traits< char > > cistring β€” the case-insensitive sibling of cstring πŸ’…
  • typedef class BaseObject *(* NewBaseObjectFunction) (void) β€” a function pointer type returning a BaseObject *, taking void 🏭
  • typedef int signo_t β€” signal number type, int in a trench coat 🚨

πŸ”₯ Functions πŸ”₯

  • __EXPORT std::ostream & operator<< (std::ostream &os, const IPV4Address &ia) β€” streams out an IPV4Address πŸ“€
  • struct in_addr getaddress (const IPV4Address &ia) β€” pulls the struct in_addr out of an IPV4Address πŸ”Ž
  • __EXPORT std::ostream & operator<< (std::ostream &os, const IPV6Address &ia) β€” streams out an IPV6Address πŸ“€
  • struct in6_addr getaddress (const IPV6Address &ia) β€” pulls the struct in6_addr out of an IPV6Address πŸ”Ž
  • __EXPORT AppLog & debug (AppLog &sl) β€” Manipulator for debug level 🐞
  • __EXPORT AppLog & warn (AppLog &sl) β€” Manipulator for warn level ⚠️
  • __EXPORT AppLog & error (AppLog &sl) β€” Manipulator for error level 🚫
  • __EXPORT AppLog & emerg (AppLog &sl) β€” Manipulator for emerg level 🚨
  • __EXPORT AppLog & alert (AppLog &sl) β€” Manipulator for alert level πŸ””
  • __EXPORT AppLog & critical (AppLog &sl) β€” Manipulator for critical level πŸ’€
  • __EXPORT AppLog & notice (AppLog &sl) β€” Manipulator for notice level πŸ“Œ
  • __EXPORT AppLog & info (AppLog &sl) β€” Manipulator for info level ℹ️
  • __EXPORT CommandOptionParse * makeCommandOptionParse (int argc, char **argv, const char *comment, CommandOption *options=defaultCommandOptionList) β€” makeCommandOptionParse will create an implementation of a CommandOptionParse object πŸ› οΈ
  • template<typename T > const T & abs (const T &v) β€” the templated absolute value, doing its thing βž•
  • __EXPORT void endKeydata (void) β€” ends the keydata πŸ”š
  • __EXPORT void * memmove (char *dest, const char *source, size_t length) β€” the portable memmove shim 🧳
  • __EXPORT char * strdup (const char *str) β€” the portable strdup shim πŸ“‹
  • __EXPORT int lockf (int fd, int mode, long offset) β€” the portable lockf shim πŸ”’
  • char * strtok_r (char *s, const char *d, char **x) β€” the portable reentrant strtok_r shim βœ‚οΈ
  • __EXPORT char * lsetField (char *target, size_t size, const char *src, const char fill=0) β€” sets a field, left-aligned, with an optional fill πŸŽ€
  • __EXPORT char * rsetField (char *target, size_t size, const char *src, const char fill=0) β€” sets a field, right-aligned, with an optional fill πŸŽ€
  • __EXPORT char * setString (char *target, size_t size, const char *src) β€” sets a string into target πŸ“
  • __EXPORT char * addString (char *target, size_t size, const char *src) β€” appends a string onto target βž•
  • __EXPORT char * newString (const char *src, size_t size=0) β€” makes you a brand new string ✨
  • __EXPORT void delString (char *str) β€” deletes that string, bye bestie πŸ‘‹
  • __EXPORT char * setUpper (char *string, size_t size) β€” uppercases the string πŸ” 
  • __EXPORT char * setLower (char *string, size_t size) β€” lowercases the string πŸ”‘
  • __EXPORT char * find (const char *cs, char *str, size_t len=0) β€” finds cs in str πŸ”
  • __EXPORT char * rfind (const char *cs, char *str, size_t len=0) β€” finds cs in str, from the back πŸ”
  • __EXPORT char * ifind (const char *cs, char *str, size_t len=0) β€” finds cs in str, case-insensitively πŸ™ˆ
  • __EXPORT char * strip (const char *cs, char *str, size_t len=0) β€” strips cs out of str 🧼
  • __EXPORT size_t strchop (const char *cs, char *str, size_t len=0) β€” chops str at cs πŸͺ“
  • __EXPORT size_t strtrim (const char *cs, char *str, size_t len=0) β€” trims str with cs βœ‚οΈ
  • char * dupString (const char *src, size_t size=0) β€” duplicates a string πŸͺž
  • __EXPORT std::istream & getline (std::istream &is, String &str, char delim='0, size_t size=0) β€” grabs a line from the stream into a String πŸ“₯
  • struct timespec * getTimeout (struct timespec *spec, timeout_t timeout) β€” turns a timeout_t into a struct timespec * ⏳
  • void wait (signo_t signo) β€” waits on a signal πŸ›‘
  • Thread * getThread (void) β€” hands you the current Thread * 🧡
  • struct tm * localtime_r (const time_t *t, struct tm *b) β€” the portable reentrant localtime_r shim πŸ•
  • char * ctime_r (const time_t *t, char *buf) β€” the portable reentrant ctime_r shim πŸ•‘
  • struct tm * gmtime_r (const time_t *t, struct tm *b) β€” the portable reentrant gmtime_r shim 🌍
  • char * asctime_r (const struct tm *tm, char *b) β€” the portable reentrant asctime_r shim πŸ•’

🌈 Variables 🌈

  • class __EXPORT IPV4Host β€” an exported IPV4Host 🏠
  • class __EXPORT IPV6Host β€” an exported IPV6Host 🏠
  • __EXPORT AppLog alog β€” alog global log stream definition πŸ“œ
  • __EXPORT CommandOption * defaultCommandOptionList β€” This defines a linked list head pointer for all the command line options that use the default list πŸ”—
  • class __EXPORT MIMEMultipart β€” an exported MIMEMultipart πŸ“§
  • class __EXPORT MIMEItemPart β€” an exported MIMEItemPart πŸ“§
  • class __EXPORT Runlist β€” an exported Runlist πŸ“‹
  • class __EXPORT Runable β€” an exported Runable πŸƒ
  • class __EXPORT MapObject β€” an exported MapObject πŸ—ΊοΈ
  • class __EXPORT MapIndex β€” an exported MapIndex πŸ—ΊοΈ
  • class __EXPORT SerialPort β€” an exported SerialPort πŸ”Œ
  • class __EXPORT SerialService β€” an exported SerialService πŸ”Œ
  • __EXPORT Slog slog β€” the slog πŸͺ΅
  • class __EXPORT SimpleTCPStream β€” an exported SimpleTCPStream 🌊
  • class __EXPORT SocketPort β€” an exported SocketPort 🧦
  • class __EXPORT SocketService β€” an exported SocketService 🧦
  • class __EXPORT Thread β€” an exported Thread 🧡
  • class __EXPORT ThreadKey β€” an exported ThreadKey πŸ”‘
  • class __EXPORT Conditional β€” an exported Conditional βš–οΈ
  • class __EXPORT Event β€” an exported Event πŸŽ‰

πŸ“š Typedef Documentation πŸ“š

  • typedef size_t ost::ccxx_size_t β€” the ost namespaced size type πŸ“
  • typedef std::basic_string<char, cistring_char_traits<char> > ost::cistring β€” the ost case-insensitive string πŸ’…
  • typedef std::basic_string<char> ost::cstring β€” the ost plain basic string of char πŸŽ€
  • typedef std::string_char_traits<char> ost::cstring_char_traits β€” the ost char traits for cstring 🧡
  • typedef class BaseObject*(* ost::NewBaseObjectFunction) (void) β€” the ost function pointer type returning a BaseObject *, taking void 🏭
  • typedef unsigned long ost::pos_t β€” the ost position type πŸ“
  • typedef int ost::signo_t β€” the ost signal number type 🚨
  • typedef unsigned short ost::tpport_t β€” Transport Protocol Ports πŸšͺ

Examples

SampleSocketPort.cpp 🌟

✨ Function Documentation ✨

Okay bestie, this is the big one: every single function documented here, in order, no skips, no cap. πŸ’–

  • template<typename T > const T& ost::abs (const T & v) [inline] β€” literally just the signature, no extra lore in the original. slay
  • __EXPORT char* ost::addString (char * target, size_t size, const char * src) β€” signature only, bestie.
  • __EXPORT AppLog& ost::alert (AppLog & sl) [inline] β€” manipulator for alert level. 🚨
    • Parameters:
      • sl β€” application logger stream
    • Returns: application logger stream
  • char* ost::asctime_r (const struct tm * tm, char * b) [inline] β€” no extra description, just vibes.
  • __EXPORT AppLog& ost::critical (AppLog & sl) [inline] β€” manipulator for critical level. πŸ’€
    • Parameters:
      • sl β€” application logger stream
    • Returns: application logger stream
  • char* ost::ctime_r (const time_t * t, char * buf) [inline] β€” signature only.
  • __EXPORT AppLog& ost::debug (AppLog & sl) [inline] β€” manipulator for debug level. πŸ›
    • Parameters:
      • sl β€” application logger stream
    • Returns: application logger stream
  • __EXPORT void ost::delString (char * str) β€” signature only.
  • char* ost::dupString (const char * src, size_t size = 0) [inline] β€” references newString().
  • __EXPORT AppLog& ost::emerg (AppLog & sl) [inline] β€” manipulator for emerg level. πŸš‘
    • Parameters:
      • sl β€” application logger stream
    • Returns: application logger stream
  • __EXPORT void ost::endKeydata (void) β€” this should be used before detaching a deamon, exec(), fork(), etc. References ost::Keydata::end().
  • __EXPORT AppLog& ost::error (AppLog & sl) [inline] β€” manipulator for error level. ❌
    • Parameters:
      • sl β€” application logger stream
    • Returns: application logger stream
    • Referenced by ost::RandomFile::error(), ost::Serial::error(), and ost::Socket::error().
  • __EXPORT char* ost::find (const char * cs, char * str, size_t len = 0) β€” referenced by ost::String::find().
  • struct in_addr ost::getaddress (const IPV4Address & ia) [inline] β€” signature only.
  • struct in6_addr ost::getaddress (const IPV6Address & ia) [inline] β€” signature only.
  • __EXPORT std::istream& ost::getline (std::istream & is, String & str, char delim = '0, size_t size = 0) β€” okay so this one has parameters.
    • Parameters:
      • is β€” stream to read.
      • str β€” string to save into.
      • delim β€” deliminator to use.
      • size β€” optional size limitor.
  • Thread* ost::getThread (void) [inline] β€” references ost::Thread::get().
  • struct timespec* ost::getTimeout (struct timespec * spec, timeout_t timeout) β€” signature only.
  • struct tm* ost::gmtime_r (const time_t * t, struct tm * b) [inline] β€” references ost::SysTime::getGMTTime().
  • __EXPORT char* ost::ifind (const char * cs, char * str, size_t len = 0) β€” signature only.
  • __EXPORT AppLog& ost::info (AppLog & sl) [inline] β€” manipulator for info level. ℹ️
    • Parameters:
      • sl β€” application logger stream
    • Returns: application logger stream
  • struct tm* ost::localtime_r (const time_t * t, struct tm * b) [inline] β€” references ost::SysTime::getLocalTime().
  • __EXPORT int ost::lockf (int fd, int mode, long offset) β€” signature only.
  • __EXPORT char* ost::lsetField (char * target, size_t size, const char * src, const char fill = 0) β€” signature only.
  • __EXPORT CommandOptionParse* ost::makeCommandOptionParse (int argc, char ** argv, const char * comment, CommandOption * options = defaultCommandOptionList) β€” makeCommandOptionParse will create an implementation of a CommandOptionParse object. This particular implementation is a wrapper around getopt_long(3). That interface unfortunatly does not provide enough information to give the best error messages with malformed input. If the implementation changes there is a good chance that the binary interface will remain the same.
    • Examples: cmdlineopt.cpp.
  • __EXPORT void* ost::memmove (char * dest, const char * source, size_t length) β€” signature only.
  • __EXPORT char* ost::newString (const char * src, size_t size = 0) β€” referenced by dupString().
  • __EXPORT AppLog& ost::notice (AppLog & sl) [inline] β€” manipulator for notice level. πŸ“
    • Parameters:
      • sl β€” application logger stream
    • Returns: application logger stream
  • __EXPORT std::ostream& ost::operator<< (std::ostream & os, const IPV4Address & ia) β€” signature only.
  • __EXPORT std::ostream& ost::operator<< (std::ostream & os, const IPV6Address & ia) β€” signature only.
  • __EXPORT char* ost::rfind (const char * cs, char * str, size_t len = 0) β€” signature only.
  • __EXPORT char* ost::rsetField (char * target, size_t size, const char * src, const char fill = 0) β€” signature only.
  • __EXPORT char* ost::setLower (char * string, size_t size) β€” signature only.
  • __EXPORT char* ost::setString (char * target, size_t size, const char * src) β€” signature only.
  • __EXPORT char* ost::setUpper (char * string, size_t size) β€” signature only.
  • __EXPORT size_t ost::strchop (const char * cs, char * str, size_t len = 0) β€” referenced by ost::String::chop().
  • __EXPORT char* ost::strdup (const char * str) β€” signature only.
  • __EXPORT char* ost::strip (const char * cs, char * str, size_t len = 0) β€” signature only.
  • char* ost::strtok_r (char * s, const char * d, char ** x) [inline] β€” signature only.
  • __EXPORT size_t ost::strtrim (const char * cs, char * str, size_t len = 0) β€” referenced by ost::String::trim().
  • void ost::wait (signo_t signo) β€” signature only, but it has examples.
    • Examples: cmdlineopt.cpp.
  • __EXPORT AppLog& ost::warn (AppLog & sl) [inline] β€” manipulator for warn level. ⚠️
    • Parameters:
      • sl β€” application logger stream
    • Returns: application logger stream

🌈 Variable Documentation 🌈

  • __EXPORT AppLog ost::alog [extern] β€” alog global log stream definition.
  • class __EXPORT ost::Conditional β€” class declaration, no extra tea.
  • __EXPORT CommandOption* ost::defaultCommandOptionList [extern] β€” this defines a linked list head pointer for all the command line options that use the default list. It will most likely be used in most cases without being explicitly referenced in application code. It is a default value of various method's parameters.
    • Examples: cmdlineopt.cpp.
  • class __EXPORT ost::Event β€” class declaration.
  • class __EXPORT ost::IPV4Host β€” class declaration.
  • class __EXPORT ost::IPV6Host β€” class declaration.
  • class __EXPORT ost::MapIndex β€” class declaration.
  • class __EXPORT ost::MapObject β€” class declaration.
  • class __EXPORT ost::MIMEItemPart β€” class declaration.
  • class __EXPORT ost::MIMEMultipart β€” class declaration.
  • class __EXPORT ost::Runable β€” class declaration.
  • class __EXPORT ost::Runlist β€” class declaration.
  • class __EXPORT ost::SerialPort β€” class declaration.
  • class __EXPORT ost::SerialService β€” class declaration.
  • class __EXPORT ost::SimpleTCPStream β€” class declaration.
  • __EXPORT Slog ost::slog [extern] β€” no description given.
    • Examples: slogTest.cpp.
  • class __EXPORT ost::SocketPort β€” class declaration.
    • Examples: SampleSocketPort.cpp.
  • class __EXPORT ost::SocketService β€” class declaration.
    • Examples: SampleSocketPort.cpp, and tcpservice.cpp.
  • class __EXPORT ost::Thread β€” class declaration.
    • Examples: SampleSocketPort.cpp.
  • class __EXPORT ost::ThreadKey β€” class declaration.

πŸ’– Author πŸ’–

Generated automatically by Doxygen for GNU CommonC++ from the source code. Slay. ✨

This page is from GNU CommonC++ and dated Sun Dec 27 2020, and it's ost(3) forever. Bye bestie! πŸ’…πŸ¦‹

πŸ“¦ where this page comes from