blocxx
Classes | Enumerations | Functions | Variables

BLOCXX_NAMESPACE::cpp Namespace Reference

Classes

struct  longOptIs
struct  shortOptIs

Enumerations

enum  EDirection { E_WRITE_PIPE, E_READ_PIPE }

Functions

void getKeyValue (const char *const strArg, String &key, String &value)
bool isValidKey (const String &key)
IOIFCStreamBuffer::EDirectionFlag directionToEnum (const char *direction)
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)

Variables

GlobalString COMPONENT_NAME = BLOCXX_GLOBAL_STRING_INIT("blocxx.PosixUnnamedPipe")
OnceFlag guard = BLOCXX_ONCE_INIT
unsigned int seed = 0

Enumeration Type Documentation

Enumerator:
E_WRITE_PIPE 
E_READ_PIPE 

Definition at line 130 of file PosixUnnamedPipe.cpp.


Function Documentation

IOIFCStreamBuffer::EDirectionFlag BLOCXX_NAMESPACE::cpp::directionToEnum ( const char *  direction)
void BLOCXX_NAMESPACE::cpp::getKeyValue ( const char *const  strArg,
String &  key,
String &  value 
)

Definition at line 50 of file EnvVars.cpp.

References BLOCXX_NAMESPACE::String::erase().

Referenced by BLOCXX_NAMESPACE::EnvVars::fillEnvMap().

bool BLOCXX_NAMESPACE::cpp::isValidKey ( const String &  key) [inline]

Definition at line 66 of file EnvVars.cpp.

Referenced by BLOCXX_NAMESPACE::EnvVars::fillEnvMap().

void BLOCXX_NAMESPACE::cpp::setDefaultKernelBufsz ( Descriptor  sockfd_read,
Descriptor  sockfd_write 
)

Definition at line 164 of file PosixUnnamedPipe.cpp.

void BLOCXX_NAMESPACE::cpp::setKernelBufferSize ( Descriptor  sockfd,
int  bufsz,
EDirection  edir 
)

Definition at line 137 of file PosixUnnamedPipe.cpp.

int BLOCXX_NAMESPACE::cpp::upaccept ( int  s,
struct sockaddr *  addr,
socklen_t addrlen 
)

Definition at line 121 of file PosixUnnamedPipe.cpp.

int BLOCXX_NAMESPACE::cpp::upclose ( int  fd)
::ssize_t BLOCXX_NAMESPACE::cpp::upread ( int  fd,
void *  buf,
std::size_t  count 
)
::ssize_t BLOCXX_NAMESPACE::cpp::upwrite ( int  fd,
void const *  buf,
std::size_t  count 
)

Definition at line 108 of file PosixUnnamedPipe.cpp.

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


Variable Documentation

GlobalString BLOCXX_NAMESPACE::cpp::COMPONENT_NAME = BLOCXX_GLOBAL_STRING_INIT("blocxx.PosixUnnamedPipe")

Definition at line 171 of file PosixUnnamedPipe.cpp.

OnceFlag BLOCXX_NAMESPACE::cpp::guard = BLOCXX_ONCE_INIT

Definition at line 67 of file RandomNumber.cpp.

Referenced by BLOCXX_NAMESPACE::RandomNumber::RandomNumber().

unsigned int BLOCXX_NAMESPACE::cpp::seed = 0

Definition at line 68 of file RandomNumber.cpp.

Referenced by BLOCXX_NAMESPACE::RandomNumber::initRandomness().