|
| bool | GetEnv (const std::string &var, std::string *value) |
| | Get the value of an environment variable.
|
| |
| void | SetHelpString (const std::string &first_line, const std::string &description) |
| | Set the help string for the program.
|
| |
|
void | DisplayUsage () |
| | Print the usage text to stdout.
|
| |
|
void | DisplayUsageAndExit () |
| | Print the usage text to stdout then exit.
|
| |
|
void | DisplayVersion () |
| | Print the version text to stdout.
|
| |
|
void | GenManPage () |
| |
| void | ParseFlags (int *argc, char **argv) |
| | Parses the command line flags up to the first non-flag value. argv is re-arranged so that it only contains non-flag arguments.
|
| |
| bool | ServerInit (int argc, char *argv[], ExportMap *export_map) |
| | Used to initialize a server.
|
| |
| bool | ServerInit (int *argc, char *argv[], ExportMap *export_map, const std::string &first_line, const std::string &description) |
| | Used to initialize a server. Installs the SEGV handler, initializes the random number generator and populates the export map. Also sets the help string for the program, parses flags and initialises logging from flags.
|
| |
| bool | AppInit (int *argc, char *argv[], const std::string &first_line, const std::string &description) |
| | Used to initialize a application. Installs the SEGV handler and initializes the random number generator, sets the help string for the program, parses flags and initialises logging from flags.
|
| |
| bool | NetworkInit () |
| | Perform platform-specific initialization of the networking subsystem.
|
| |
| bool | InstallSignal (int signal, void(*fp)(int signo)) |
| | Install a signal handler.
|
| |
| bool | InstallSEGVHandler () |
| | Install signal handlers to deal with SIGBUS & SIGSEGV.
|
| |
| void | InitExportMap (int argc, char *argv[], ExportMap *export_map) |
| | Populate the ExportMap with a couple of basic variables.
|
| |
| void | Daemonise () |
| | Run as a daemon.
|
| |
|
void | ClockInit () |
| | Logs status of clock capabilities.
|
| |
| void | SetLogLevel (log_level level) |
| | Set the logging level.
|
| |
|
void | IncrementLogLevel () |
| | Increment the log level by one. The log level wraps to OLA_LOG_NONE.
|
| |
| bool | InitLoggingFromFlags () |
| | Initialize the OLA logging system from flags.
|
| |
| bool | InitLogging (log_level level, log_output output) |
| | Initialize the OLA logging system.
|
| |
| void | InitLogging (log_level level, LogDestination *destination) |
| | Initialize the OLA logging system using the specified LogDestination.
|
| |
| std::ostream & | operator<< (std::ostream &out, const DmxBuffer &data) |
| | Stream operator to allow DmxBuffer to be output to stdout.
|
| |
| void | StringSplit (const std::string &input, std::vector< std::string > *tokens, const std::string &delimiters=" ") |
| | Split a string into pieces.
|
| |
| void | StringTrim (std::string *input) |
| | Trim leading and trailing whitespace from a string.
|
| |
| void | ShortenString (std::string *input) |
| | Truncate the string based on the presence of \0 characters.
|
| |
| bool | StringBeginsWith (const std::string &s, const std::string &prefix) |
| | Check if one string is a prefix of another.
|
| |
| bool | StringEndsWith (const std::string &s, const std::string &suffix) |
| | Check if one string is a suffix of another.
|
| |
| bool | StripPrefix (std::string *s, const std::string &prefix) |
| | Strips a prefix from a string.
|
| |
| bool | StripSuffix (std::string *s, const std::string &suffix) |
| | Strips a suffix from a string.
|
| |
| string | IntToHexString (unsigned int i, unsigned int width) |
| |
| bool | StringToBool (const std::string &value, bool *output) |
| | Convert a string to a bool.
|
| |
| bool | StringToBoolTolerant (const std::string &value, bool *output) |
| | Convert a string to a bool in a tolerant way.
|
| |
| bool | StringToInt (const std::string &value, unsigned int *output, bool strict=false) |
| | Convert a string to a unsigned int.
|
| |
| bool | StringToInt (const std::string &value, uint16_t *output, bool strict=false) |
| | Convert a string to a uint16_t.
|
| |
| bool | StringToInt (const std::string &value, uint8_t *output, bool strict=false) |
| | Convert a string to a uint8_t.
|
| |
| bool | StringToInt (const std::string &value, int *output, bool strict=false) |
| | Convert a string to a int.
|
| |
| bool | StringToInt (const std::string &value, int16_t *output, bool strict=false) |
| | Convert a string to a int16_t.
|
| |
| bool | StringToInt (const std::string &value, int8_t *output, bool strict=false) |
| | Convert a string to a int8_t.
|
| |
| void | Escape (std::string *original) |
| | Escape a string with \ .
|
| |
| string | EscapeString (const std::string &original) |
| | Escape a string, returning a copy.
|
| |
| string | EncodeString (const std::string &original) |
| | Encode any unprintable characters in a string as hex, returning a copy.
|
| |
| void | ReplaceAll (std::string *original, const std::string &find, const std::string &replace) |
| | Replace all instances of the find string with the replace string.
|
| |
| bool | HexStringToInt (const std::string &value, uint8_t *output) |
| | Convert a hex string to a uint8_t.
|
| |
| bool | HexStringToInt (const std::string &value, uint16_t *output) |
| | Convert a hex string to a uint16_t.
|
| |
| bool | HexStringToInt (const std::string &value, uint32_t *output) |
| | Convert a hex string to a uint32_t.
|
| |
| bool | HexStringToInt (const std::string &value, int8_t *output) |
| | Convert a hex string to a int8_t.
|
| |
| bool | HexStringToInt (const std::string &value, int16_t *output) |
| | Convert a hex string to a int16_t.
|
| |
| bool | HexStringToInt (const std::string &value, int32_t *output) |
| | Convert a hex string to a int32_t.
|
| |
| void | ToLower (std::string *s) |
| | Convert a string to lower case.
|
| |
| void | ToUpper (std::string *s) |
| | Convert a string to upper case.
|
| |
| void | CapitalizeLabel (std::string *s) |
| | Transform a string to a pretty-printed form.
|
| |
| void | CustomCapitalizeLabel (std::string *s) |
| | Similar to CapitalizeLabel() but this also capitalized known acronyms.
|
| |
| void | CapitalizeFirst (std::string *s) |
| | Transform a string by capitalizing the first character.
|
| |
|
FlagRegistry * | GetRegistry () |
| | Get the global FlagRegistry.
|
| |
| template<typename ReturnType> |
| SingleUseCallback0< ReturnType > * | NewSingleCallback (ReturnType(*callback)()) |
| | A helper function to create a new SingleUseCallback with 0 create-time arguments and 0 execution time arguments.
|
| |
| template<typename ReturnType> |
| Callback0< ReturnType > * | NewCallback (ReturnType(*callback)()) |
| | A helper function to create a new Callback with 0 create-time arguments and 0 execution time arguments.
|
| |
| template<typename Class, typename ReturnType> |
| SingleUseCallback0< ReturnType > * | NewSingleCallback (Class *object, ReturnType(Class::*method)()) |
| | A helper function to create a new SingleUseCallback with 0 create-time arguments and 0 execution time arguments.
|
| |
| template<typename Class, typename ReturnType> |
| Callback0< ReturnType > * | NewCallback (Class *object, ReturnType(Class::*method)()) |
| | A helper function to create a new Callback with 0 create-time arguments and 0 execution time arguments.
|
| |
| template<typename ReturnType, typename A0> |
| SingleUseCallback0< ReturnType > * | NewSingleCallback (ReturnType(*callback)(A0), A0 a0) |
| | A helper function to create a new SingleUseCallback with 1 create-time arguments and 0 execution time arguments.
|
| |
| template<typename ReturnType, typename A0> |
| Callback0< ReturnType > * | NewCallback (ReturnType(*callback)(A0), A0 a0) |
| | A helper function to create a new Callback with 1 create-time arguments and 0 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0> |
| SingleUseCallback0< ReturnType > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0), A0 a0) |
| | A helper function to create a new SingleUseCallback with 1 create-time arguments and 0 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0> |
| Callback0< ReturnType > * | NewCallback (Class *object, ReturnType(Class::*method)(A0), A0 a0) |
| | A helper function to create a new Callback with 1 create-time arguments and 0 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1> |
| SingleUseCallback0< ReturnType > * | NewSingleCallback (ReturnType(*callback)(A0, A1), A0 a0, A1 a1) |
| | A helper function to create a new SingleUseCallback with 2 create-time arguments and 0 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1> |
| Callback0< ReturnType > * | NewCallback (ReturnType(*callback)(A0, A1), A0 a0, A1 a1) |
| | A helper function to create a new Callback with 2 create-time arguments and 0 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1> |
| SingleUseCallback0< ReturnType > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0, A1), A0 a0, A1 a1) |
| | A helper function to create a new SingleUseCallback with 2 create-time arguments and 0 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1> |
| Callback0< ReturnType > * | NewCallback (Class *object, ReturnType(Class::*method)(A0, A1), A0 a0, A1 a1) |
| | A helper function to create a new Callback with 2 create-time arguments and 0 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2> |
| SingleUseCallback0< ReturnType > * | NewSingleCallback (ReturnType(*callback)(A0, A1, A2), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new SingleUseCallback with 3 create-time arguments and 0 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2> |
| Callback0< ReturnType > * | NewCallback (ReturnType(*callback)(A0, A1, A2), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new Callback with 3 create-time arguments and 0 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2> |
| SingleUseCallback0< ReturnType > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new SingleUseCallback with 3 create-time arguments and 0 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2> |
| Callback0< ReturnType > * | NewCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new Callback with 3 create-time arguments and 0 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2, typename A3> |
| SingleUseCallback0< ReturnType > * | NewSingleCallback (ReturnType(*callback)(A0, A1, A2, A3), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new SingleUseCallback with 4 create-time arguments and 0 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2, typename A3> |
| Callback0< ReturnType > * | NewCallback (ReturnType(*callback)(A0, A1, A2, A3), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new Callback with 4 create-time arguments and 0 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2, typename A3> |
| SingleUseCallback0< ReturnType > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2, A3), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new SingleUseCallback with 4 create-time arguments and 0 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2, typename A3> |
| Callback0< ReturnType > * | NewCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2, A3), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new Callback with 4 create-time arguments and 0 execution time arguments.
|
| |
| template<typename ReturnType, typename Arg0> |
| SingleUseCallback1< ReturnType, Arg0 > * | NewSingleCallback (ReturnType(*callback)(Arg0)) |
| | A helper function to create a new SingleUseCallback with 0 create-time arguments and 1 execution time arguments.
|
| |
| template<typename ReturnType, typename Arg0> |
| Callback1< ReturnType, Arg0 > * | NewCallback (ReturnType(*callback)(Arg0)) |
| | A helper function to create a new Callback with 0 create-time arguments and 1 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename Arg0> |
| SingleUseCallback1< ReturnType, Arg0 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(Arg0)) |
| | A helper function to create a new SingleUseCallback with 0 create-time arguments and 1 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename Arg0> |
| Callback1< ReturnType, Arg0 > * | NewCallback (Class *object, ReturnType(Class::*method)(Arg0)) |
| | A helper function to create a new Callback with 0 create-time arguments and 1 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename Arg0> |
| SingleUseCallback1< ReturnType, Arg0 > * | NewSingleCallback (ReturnType(*callback)(A0, Arg0), A0 a0) |
| | A helper function to create a new SingleUseCallback with 1 create-time arguments and 1 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename Arg0> |
| Callback1< ReturnType, Arg0 > * | NewCallback (ReturnType(*callback)(A0, Arg0), A0 a0) |
| | A helper function to create a new Callback with 1 create-time arguments and 1 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename Arg0> |
| SingleUseCallback1< ReturnType, Arg0 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0, Arg0), A0 a0) |
| | A helper function to create a new SingleUseCallback with 1 create-time arguments and 1 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename Arg0> |
| Callback1< ReturnType, Arg0 > * | NewCallback (Class *object, ReturnType(Class::*method)(A0, Arg0), A0 a0) |
| | A helper function to create a new Callback with 1 create-time arguments and 1 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename Arg0> |
| SingleUseCallback1< ReturnType, Arg0 > * | NewSingleCallback (ReturnType(*callback)(A0, A1, Arg0), A0 a0, A1 a1) |
| | A helper function to create a new SingleUseCallback with 2 create-time arguments and 1 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename Arg0> |
| Callback1< ReturnType, Arg0 > * | NewCallback (ReturnType(*callback)(A0, A1, Arg0), A0 a0, A1 a1) |
| | A helper function to create a new Callback with 2 create-time arguments and 1 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename Arg0> |
| SingleUseCallback1< ReturnType, Arg0 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0, A1, Arg0), A0 a0, A1 a1) |
| | A helper function to create a new SingleUseCallback with 2 create-time arguments and 1 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename Arg0> |
| Callback1< ReturnType, Arg0 > * | NewCallback (Class *object, ReturnType(Class::*method)(A0, A1, Arg0), A0 a0, A1 a1) |
| | A helper function to create a new Callback with 2 create-time arguments and 1 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2, typename Arg0> |
| SingleUseCallback1< ReturnType, Arg0 > * | NewSingleCallback (ReturnType(*callback)(A0, A1, A2, Arg0), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new SingleUseCallback with 3 create-time arguments and 1 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2, typename Arg0> |
| Callback1< ReturnType, Arg0 > * | NewCallback (ReturnType(*callback)(A0, A1, A2, Arg0), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new Callback with 3 create-time arguments and 1 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2, typename Arg0> |
| SingleUseCallback1< ReturnType, Arg0 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2, Arg0), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new SingleUseCallback with 3 create-time arguments and 1 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2, typename Arg0> |
| Callback1< ReturnType, Arg0 > * | NewCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2, Arg0), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new Callback with 3 create-time arguments and 1 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2, typename A3, typename Arg0> |
| SingleUseCallback1< ReturnType, Arg0 > * | NewSingleCallback (ReturnType(*callback)(A0, A1, A2, A3, Arg0), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new SingleUseCallback with 4 create-time arguments and 1 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2, typename A3, typename Arg0> |
| Callback1< ReturnType, Arg0 > * | NewCallback (ReturnType(*callback)(A0, A1, A2, A3, Arg0), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new Callback with 4 create-time arguments and 1 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2, typename A3, typename Arg0> |
| SingleUseCallback1< ReturnType, Arg0 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2, A3, Arg0), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new SingleUseCallback with 4 create-time arguments and 1 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2, typename A3, typename Arg0> |
| Callback1< ReturnType, Arg0 > * | NewCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2, A3, Arg0), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new Callback with 4 create-time arguments and 1 execution time arguments.
|
| |
| template<typename ReturnType, typename Arg0, typename Arg1> |
| SingleUseCallback2< ReturnType, Arg0, Arg1 > * | NewSingleCallback (ReturnType(*callback)(Arg0, Arg1)) |
| | A helper function to create a new SingleUseCallback with 0 create-time arguments and 2 execution time arguments.
|
| |
| template<typename ReturnType, typename Arg0, typename Arg1> |
| Callback2< ReturnType, Arg0, Arg1 > * | NewCallback (ReturnType(*callback)(Arg0, Arg1)) |
| | A helper function to create a new Callback with 0 create-time arguments and 2 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename Arg0, typename Arg1> |
| SingleUseCallback2< ReturnType, Arg0, Arg1 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(Arg0, Arg1)) |
| | A helper function to create a new SingleUseCallback with 0 create-time arguments and 2 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename Arg0, typename Arg1> |
| Callback2< ReturnType, Arg0, Arg1 > * | NewCallback (Class *object, ReturnType(Class::*method)(Arg0, Arg1)) |
| | A helper function to create a new Callback with 0 create-time arguments and 2 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename Arg0, typename Arg1> |
| SingleUseCallback2< ReturnType, Arg0, Arg1 > * | NewSingleCallback (ReturnType(*callback)(A0, Arg0, Arg1), A0 a0) |
| | A helper function to create a new SingleUseCallback with 1 create-time arguments and 2 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename Arg0, typename Arg1> |
| Callback2< ReturnType, Arg0, Arg1 > * | NewCallback (ReturnType(*callback)(A0, Arg0, Arg1), A0 a0) |
| | A helper function to create a new Callback with 1 create-time arguments and 2 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename Arg0, typename Arg1> |
| SingleUseCallback2< ReturnType, Arg0, Arg1 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0, Arg0, Arg1), A0 a0) |
| | A helper function to create a new SingleUseCallback with 1 create-time arguments and 2 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename Arg0, typename Arg1> |
| Callback2< ReturnType, Arg0, Arg1 > * | NewCallback (Class *object, ReturnType(Class::*method)(A0, Arg0, Arg1), A0 a0) |
| | A helper function to create a new Callback with 1 create-time arguments and 2 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename Arg0, typename Arg1> |
| SingleUseCallback2< ReturnType, Arg0, Arg1 > * | NewSingleCallback (ReturnType(*callback)(A0, A1, Arg0, Arg1), A0 a0, A1 a1) |
| | A helper function to create a new SingleUseCallback with 2 create-time arguments and 2 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename Arg0, typename Arg1> |
| Callback2< ReturnType, Arg0, Arg1 > * | NewCallback (ReturnType(*callback)(A0, A1, Arg0, Arg1), A0 a0, A1 a1) |
| | A helper function to create a new Callback with 2 create-time arguments and 2 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename Arg0, typename Arg1> |
| SingleUseCallback2< ReturnType, Arg0, Arg1 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0, A1, Arg0, Arg1), A0 a0, A1 a1) |
| | A helper function to create a new SingleUseCallback with 2 create-time arguments and 2 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename Arg0, typename Arg1> |
| Callback2< ReturnType, Arg0, Arg1 > * | NewCallback (Class *object, ReturnType(Class::*method)(A0, A1, Arg0, Arg1), A0 a0, A1 a1) |
| | A helper function to create a new Callback with 2 create-time arguments and 2 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2, typename Arg0, typename Arg1> |
| SingleUseCallback2< ReturnType, Arg0, Arg1 > * | NewSingleCallback (ReturnType(*callback)(A0, A1, A2, Arg0, Arg1), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new SingleUseCallback with 3 create-time arguments and 2 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2, typename Arg0, typename Arg1> |
| Callback2< ReturnType, Arg0, Arg1 > * | NewCallback (ReturnType(*callback)(A0, A1, A2, Arg0, Arg1), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new Callback with 3 create-time arguments and 2 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2, typename Arg0, typename Arg1> |
| SingleUseCallback2< ReturnType, Arg0, Arg1 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2, Arg0, Arg1), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new SingleUseCallback with 3 create-time arguments and 2 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2, typename Arg0, typename Arg1> |
| Callback2< ReturnType, Arg0, Arg1 > * | NewCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2, Arg0, Arg1), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new Callback with 3 create-time arguments and 2 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2, typename A3, typename Arg0, typename Arg1> |
| SingleUseCallback2< ReturnType, Arg0, Arg1 > * | NewSingleCallback (ReturnType(*callback)(A0, A1, A2, A3, Arg0, Arg1), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new SingleUseCallback with 4 create-time arguments and 2 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2, typename A3, typename Arg0, typename Arg1> |
| Callback2< ReturnType, Arg0, Arg1 > * | NewCallback (ReturnType(*callback)(A0, A1, A2, A3, Arg0, Arg1), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new Callback with 4 create-time arguments and 2 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2, typename A3, typename Arg0, typename Arg1> |
| SingleUseCallback2< ReturnType, Arg0, Arg1 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2, A3, Arg0, Arg1), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new SingleUseCallback with 4 create-time arguments and 2 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2, typename A3, typename Arg0, typename Arg1> |
| Callback2< ReturnType, Arg0, Arg1 > * | NewCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2, A3, Arg0, Arg1), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new Callback with 4 create-time arguments and 2 execution time arguments.
|
| |
| template<typename ReturnType, typename Arg0, typename Arg1, typename Arg2> |
| SingleUseCallback3< ReturnType, Arg0, Arg1, Arg2 > * | NewSingleCallback (ReturnType(*callback)(Arg0, Arg1, Arg2)) |
| | A helper function to create a new SingleUseCallback with 0 create-time arguments and 3 execution time arguments.
|
| |
| template<typename ReturnType, typename Arg0, typename Arg1, typename Arg2> |
| Callback3< ReturnType, Arg0, Arg1, Arg2 > * | NewCallback (ReturnType(*callback)(Arg0, Arg1, Arg2)) |
| | A helper function to create a new Callback with 0 create-time arguments and 3 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename Arg0, typename Arg1, typename Arg2> |
| SingleUseCallback3< ReturnType, Arg0, Arg1, Arg2 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(Arg0, Arg1, Arg2)) |
| | A helper function to create a new SingleUseCallback with 0 create-time arguments and 3 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename Arg0, typename Arg1, typename Arg2> |
| Callback3< ReturnType, Arg0, Arg1, Arg2 > * | NewCallback (Class *object, ReturnType(Class::*method)(Arg0, Arg1, Arg2)) |
| | A helper function to create a new Callback with 0 create-time arguments and 3 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename Arg0, typename Arg1, typename Arg2> |
| SingleUseCallback3< ReturnType, Arg0, Arg1, Arg2 > * | NewSingleCallback (ReturnType(*callback)(A0, Arg0, Arg1, Arg2), A0 a0) |
| | A helper function to create a new SingleUseCallback with 1 create-time arguments and 3 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename Arg0, typename Arg1, typename Arg2> |
| Callback3< ReturnType, Arg0, Arg1, Arg2 > * | NewCallback (ReturnType(*callback)(A0, Arg0, Arg1, Arg2), A0 a0) |
| | A helper function to create a new Callback with 1 create-time arguments and 3 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename Arg0, typename Arg1, typename Arg2> |
| SingleUseCallback3< ReturnType, Arg0, Arg1, Arg2 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0, Arg0, Arg1, Arg2), A0 a0) |
| | A helper function to create a new SingleUseCallback with 1 create-time arguments and 3 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename Arg0, typename Arg1, typename Arg2> |
| Callback3< ReturnType, Arg0, Arg1, Arg2 > * | NewCallback (Class *object, ReturnType(Class::*method)(A0, Arg0, Arg1, Arg2), A0 a0) |
| | A helper function to create a new Callback with 1 create-time arguments and 3 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename Arg0, typename Arg1, typename Arg2> |
| SingleUseCallback3< ReturnType, Arg0, Arg1, Arg2 > * | NewSingleCallback (ReturnType(*callback)(A0, A1, Arg0, Arg1, Arg2), A0 a0, A1 a1) |
| | A helper function to create a new SingleUseCallback with 2 create-time arguments and 3 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename Arg0, typename Arg1, typename Arg2> |
| Callback3< ReturnType, Arg0, Arg1, Arg2 > * | NewCallback (ReturnType(*callback)(A0, A1, Arg0, Arg1, Arg2), A0 a0, A1 a1) |
| | A helper function to create a new Callback with 2 create-time arguments and 3 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename Arg0, typename Arg1, typename Arg2> |
| SingleUseCallback3< ReturnType, Arg0, Arg1, Arg2 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0, A1, Arg0, Arg1, Arg2), A0 a0, A1 a1) |
| | A helper function to create a new SingleUseCallback with 2 create-time arguments and 3 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename Arg0, typename Arg1, typename Arg2> |
| Callback3< ReturnType, Arg0, Arg1, Arg2 > * | NewCallback (Class *object, ReturnType(Class::*method)(A0, A1, Arg0, Arg1, Arg2), A0 a0, A1 a1) |
| | A helper function to create a new Callback with 2 create-time arguments and 3 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2, typename Arg0, typename Arg1, typename Arg2> |
| SingleUseCallback3< ReturnType, Arg0, Arg1, Arg2 > * | NewSingleCallback (ReturnType(*callback)(A0, A1, A2, Arg0, Arg1, Arg2), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new SingleUseCallback with 3 create-time arguments and 3 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2, typename Arg0, typename Arg1, typename Arg2> |
| Callback3< ReturnType, Arg0, Arg1, Arg2 > * | NewCallback (ReturnType(*callback)(A0, A1, A2, Arg0, Arg1, Arg2), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new Callback with 3 create-time arguments and 3 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2, typename Arg0, typename Arg1, typename Arg2> |
| SingleUseCallback3< ReturnType, Arg0, Arg1, Arg2 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2, Arg0, Arg1, Arg2), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new SingleUseCallback with 3 create-time arguments and 3 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2, typename Arg0, typename Arg1, typename Arg2> |
| Callback3< ReturnType, Arg0, Arg1, Arg2 > * | NewCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2, Arg0, Arg1, Arg2), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new Callback with 3 create-time arguments and 3 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2, typename A3, typename Arg0, typename Arg1, typename Arg2> |
| SingleUseCallback3< ReturnType, Arg0, Arg1, Arg2 > * | NewSingleCallback (ReturnType(*callback)(A0, A1, A2, A3, Arg0, Arg1, Arg2), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new SingleUseCallback with 4 create-time arguments and 3 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2, typename A3, typename Arg0, typename Arg1, typename Arg2> |
| Callback3< ReturnType, Arg0, Arg1, Arg2 > * | NewCallback (ReturnType(*callback)(A0, A1, A2, A3, Arg0, Arg1, Arg2), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new Callback with 4 create-time arguments and 3 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2, typename A3, typename Arg0, typename Arg1, typename Arg2> |
| SingleUseCallback3< ReturnType, Arg0, Arg1, Arg2 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2, A3, Arg0, Arg1, Arg2), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new SingleUseCallback with 4 create-time arguments and 3 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2, typename A3, typename Arg0, typename Arg1, typename Arg2> |
| Callback3< ReturnType, Arg0, Arg1, Arg2 > * | NewCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2, A3, Arg0, Arg1, Arg2), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new Callback with 4 create-time arguments and 3 execution time arguments.
|
| |
| template<typename ReturnType, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| SingleUseCallback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewSingleCallback (ReturnType(*callback)(Arg0, Arg1, Arg2, Arg3)) |
| | A helper function to create a new SingleUseCallback with 0 create-time arguments and 4 execution time arguments.
|
| |
| template<typename ReturnType, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| Callback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewCallback (ReturnType(*callback)(Arg0, Arg1, Arg2, Arg3)) |
| | A helper function to create a new Callback with 0 create-time arguments and 4 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| SingleUseCallback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(Arg0, Arg1, Arg2, Arg3)) |
| | A helper function to create a new SingleUseCallback with 0 create-time arguments and 4 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| Callback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewCallback (Class *object, ReturnType(Class::*method)(Arg0, Arg1, Arg2, Arg3)) |
| | A helper function to create a new Callback with 0 create-time arguments and 4 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| SingleUseCallback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewSingleCallback (ReturnType(*callback)(A0, Arg0, Arg1, Arg2, Arg3), A0 a0) |
| | A helper function to create a new SingleUseCallback with 1 create-time arguments and 4 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| Callback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewCallback (ReturnType(*callback)(A0, Arg0, Arg1, Arg2, Arg3), A0 a0) |
| | A helper function to create a new Callback with 1 create-time arguments and 4 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| SingleUseCallback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0, Arg0, Arg1, Arg2, Arg3), A0 a0) |
| | A helper function to create a new SingleUseCallback with 1 create-time arguments and 4 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| Callback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewCallback (Class *object, ReturnType(Class::*method)(A0, Arg0, Arg1, Arg2, Arg3), A0 a0) |
| | A helper function to create a new Callback with 1 create-time arguments and 4 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| SingleUseCallback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewSingleCallback (ReturnType(*callback)(A0, A1, Arg0, Arg1, Arg2, Arg3), A0 a0, A1 a1) |
| | A helper function to create a new SingleUseCallback with 2 create-time arguments and 4 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| Callback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewCallback (ReturnType(*callback)(A0, A1, Arg0, Arg1, Arg2, Arg3), A0 a0, A1 a1) |
| | A helper function to create a new Callback with 2 create-time arguments and 4 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| SingleUseCallback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0, A1, Arg0, Arg1, Arg2, Arg3), A0 a0, A1 a1) |
| | A helper function to create a new SingleUseCallback with 2 create-time arguments and 4 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| Callback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewCallback (Class *object, ReturnType(Class::*method)(A0, A1, Arg0, Arg1, Arg2, Arg3), A0 a0, A1 a1) |
| | A helper function to create a new Callback with 2 create-time arguments and 4 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| SingleUseCallback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewSingleCallback (ReturnType(*callback)(A0, A1, A2, Arg0, Arg1, Arg2, Arg3), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new SingleUseCallback with 3 create-time arguments and 4 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| Callback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewCallback (ReturnType(*callback)(A0, A1, A2, Arg0, Arg1, Arg2, Arg3), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new Callback with 3 create-time arguments and 4 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| SingleUseCallback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2, Arg0, Arg1, Arg2, Arg3), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new SingleUseCallback with 3 create-time arguments and 4 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| Callback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2, Arg0, Arg1, Arg2, Arg3), A0 a0, A1 a1, A2 a2) |
| | A helper function to create a new Callback with 3 create-time arguments and 4 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2, typename A3, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| SingleUseCallback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewSingleCallback (ReturnType(*callback)(A0, A1, A2, A3, Arg0, Arg1, Arg2, Arg3), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new SingleUseCallback with 4 create-time arguments and 4 execution time arguments.
|
| |
| template<typename ReturnType, typename A0, typename A1, typename A2, typename A3, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| Callback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewCallback (ReturnType(*callback)(A0, A1, A2, A3, Arg0, Arg1, Arg2, Arg3), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new Callback with 4 create-time arguments and 4 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2, typename A3, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| SingleUseCallback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewSingleCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2, A3, Arg0, Arg1, Arg2, Arg3), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new SingleUseCallback with 4 create-time arguments and 4 execution time arguments.
|
| |
| template<typename Class, typename ReturnType, typename A0, typename A1, typename A2, typename A3, typename Arg0, typename Arg1, typename Arg2, typename Arg3> |
| Callback4< ReturnType, Arg0, Arg1, Arg2, Arg3 > * | NewCallback (Class *object, ReturnType(Class::*method)(A0, A1, A2, A3, Arg0, Arg1, Arg2, Arg3), A0 a0, A1 a1, A2 a2, A3 a3) |
| | A helper function to create a new Callback with 4 create-time arguments and 4 execution time arguments.
|
| |
| log_level | LogLevel () |
| | Fetch the current level of logging.
|
| |
| BaseCallback0< void > * | NewMultiCallback (unsigned int limit, BaseCallback0< void > *callback) |
| | A helper function to create a new MultiCallback.
|
| |
| template<typename T> |
| void | STLEmptyStack (T *stack) |
| | Clear a stack.
|
| |
| template<typename T> |
| void | STLEmptyStackAndDelete (T *stack) |
| | Clear a stack and delete all pointers..
|
| |
| template<typename T> |
| void | STLDeleteElements (T *sequence) |
| | Delete the elements of a Sequence.
|
| |
| template<typename T> |
| void | STLDeleteValues (T *container) |
| |
| template<typename T1, typename T2> |
| bool | STLContains (const T1 &container, const T2 &value) |
| |
| template<typename T1> |
| void | STLKeys (const T1 &container, std::vector< typename T1::key_type > *keys) |
| |
| template<typename T1, typename T2> |
| void | STLValues (const T1 &container, std::vector< T2 > *values) |
| | Extract a vector of values from a pair associative container.
|
| |
| template<typename T1> |
| T1::mapped_type * | STLFind (T1 *container, const typename T1::key_type &key) |
| | Lookup a value by key in a associative container.
|
| |
| template<typename T1> |
| T1::mapped_type const * | STLFind (const T1 *container, const typename T1::key_type &key) |
| | Lookup a value by key in a associative container.
|
| |
| template<typename T1> |
| T1::mapped_type | STLFindOrNull (const T1 &container, const typename T1::key_type &key) |
| | Lookup a value by key in a associative container.
|
| |
| template<typename T1> |
| bool | STLReplace (T1 *container, const typename T1::key_type &key, const typename T1::mapped_type &value) |
| | Replace a value in a pair associative container, inserting the key, value if it doesn't already exist.
|
| |
| template<typename T1> |
| T1::mapped_type | STLReplacePtr (T1 *container, const typename T1::key_type &key, const typename T1::mapped_type &value) |
| | Replace a value in a pair associative container. If the key existed, the old value is returned, otherwise NULL is returned.
|
| |
| template<typename T1> |
| bool | STLReplaceAndDelete (T1 *container, const typename T1::key_type &key, const typename T1::mapped_type &value) |
| | Similar to STLReplace but this will delete the value if the replacement occurs.
|
| |
| template<typename T1> |
| bool | STLInsertIfNotPresent (T1 *container, const typename T1::value_type &key_value) |
| | Insert a value into a container only if this value doesn't already exist.
|
| |
| template<typename T1> |
| bool | STLInsertIfNotPresent (T1 *container, const typename T1::key_type &key, const typename T1::mapped_type &value) |
| | Insert a value into a container only if this value doesn't already exist.
|
| |
| template<typename T1> |
| void | STLInsertOrDie (T1 *container, const typename T1::key_type &key, const typename T1::mapped_type &value) |
| | Insert an key : value into a pair associative container, or abort the program if the key already exists.
|
| |
| template<typename T1> |
| bool | STLRemove (T1 *container, const typename T1::key_type &key) |
| | Remove a key / value from a container.
|
| |
| template<typename T1> |
| bool | STLLookupAndRemove (T1 *container, const typename T1::key_type &key, typename T1::mapped_type *value) |
| | Lookup and remove a key from a pair associative container.
|
| |
| template<typename T1> |
| T1::iterator | STLLookupOrInsertNull (T1 *container, const typename T1::key_type &key) |
| | Lookup or insert a NULL value into a pair associative container.
|
| |
|
template<typename T1> |
| void | PairAssociativeAssignNew (T1 **location) |
| |
| template<typename T1> |
| T1::iterator | STLLookupOrInsertNew (T1 *container, const typename T1::key_type &key) |
| | Lookup or insert a new object into a pair associative container.
|
| |
| template<typename T1> |
| bool | STLRemoveAndDelete (T1 *container, const typename T1::key_type &key) |
| | Remove a value from a pair associative container and delete it.
|
| |
| template<typename T1> |
| T1::mapped_type | STLLookupAndRemovePtr (T1 *container, const typename T1::key_type &key) |
| | Remove a value from a pair associative container and return the value.
|
| |
| template<typename T1, typename T2> |
| void | STLMapFromKeys (T1 *output, const T2 input, typename T1::mapped_type value) |
| |
| void | StringSplit (const std::string &input, std::vector< std::string > &tokens, const std::string &delimiters=" ") |
| | Split a string into pieces.
|
| |
| std::string | IntToString (int i) |
| | Convert an int to a string.
|
| |
| std::string | IntToString (unsigned int i) |
| |
| std::string | IntToHexString (uint8_t i) |
| |
| std::string | IntToHexString (uint16_t i) |
| |
| std::string | IntToHexString (uint32_t i) |
| |
| template<typename int_type> |
| int_type | StringToIntOrDefault (const std::string &value, int_type alternative, bool strict=false) |
| | Convert a string to an int type or return a default if it failed.
|
| |
| void | FormatData (std::ostream *out, const uint8_t *data, unsigned int length, unsigned int indent=0, unsigned int byte_per_line=8) |
| | Write binary data to an ostream in a human readable form.
|
| |
|
template<typename int_type> |
| bool | PrefixedHexStringToInt (const std::string &input, int_type *output) |
| | Convert a hex string, prefixed with 0x or 0X to an int type.
|
| |
| template<typename T> |
| std::string | StringJoin (const std::string &delim, const T &input) |
| | Join a vector of a type.
|
| |
| template<typename T> |
| void | Deleter (T *t) |
| | Delete a pointer.
|
| |
| template<typename T> |
| SingleUseCallback0< void > * | DeletePointerCallback (T *t) |
| | Create a callback that deletes the object.
|
| |
|
template<class PortClass> |
| bool | IsInputPort () |
| | This allows switching based on Port type.
|
| |
|
template<> |
| bool | IsInputPort< OutputPort > () |
| |
|
static std::string | MakeServiceKey (const std::string &service_name, const std::string &type) |
| |
|
static void | RegisterCallback (DNSServiceRef service, DNSServiceFlags flags, DNSServiceErrorType error_code, const char *name, const char *type, const char *domain, void *context) |
| |
|
bool | operator< (const device_alias_pair &left, const device_alias_pair &right) |
| |
|
template<> |
| bool | IsInputPort< OutputPort > () |
| |
|
template<> |
| bool | IsInputPort< InputPort > () |
| |
|
string | ClassName (const Descriptor *descriptor, bool qualified) |
| |
|
string | StripProto (const string &filename) |
| |
|
string | FilenameIdentifier (const string &filename) |
| |
|
string | GlobalAddDescriptorsName (const string &filename) |
| |
|
string | GlobalAssignDescriptorsName (const string &filename) |
| |
|
string | ClassName (const google::protobuf::Descriptor *descriptor, bool qualified) |
| |
|
bool | HasDescriptorMethods (const google::protobuf::FileDescriptor *file) |
| |
|
void | StringReplace (const string &s, const string &oldsub, const string &newsub, bool replace_all, string *res) |
| |
|
string | StringReplace (const string &s, const string &oldsub, const string &newsub, bool replace_all) |
| |
|
template<typename ITR> |
| static void | SplitStringToIteratorUsing (const string &full, const char *delim, ITR *result) |
| |
|
void | SplitStringUsing (const string &full, const char *delim, vector< string > *result) |
| |
|
char * | FastInt64ToBuffer (int64_t i, char *buffer) |
| |
|
char * | FastInt32ToBuffer (int32_t i, char *buffer) |
| |
|
char * | FastHexToBuffer (int i, char *buffer) |
| |
|
char * | InternalFastHexToBuffer (uint64_t value, char *buffer, int num_byte) |
| |
|
char * | FastHex64ToBuffer (uint64_t value, char *buffer) |
| |
|
char * | FastHex32ToBuffer (uint32_t value, char *buffer) |
| |
|
char * | FastUInt32ToBufferLeft (uint32_t u, char *buffer) |
| |
|
char * | FastInt32ToBufferLeft (int32_t i, char *buffer) |
| |
|
char * | FastUInt64ToBufferLeft (uint64_t u64, char *buffer) |
| |
|
char * | FastInt64ToBufferLeft (int64_t i, char *buffer) |
| |
|
string | SimpleItoa (int i) |
| |
|
string | SimpleItoa (unsigned int i) |
| |
|
string | SimpleItoa (long i) |
| |
|
string | SimpleItoa (unsigned long i) |
| |
|
string | SimpleItoa (long long i) |
| |
|
string | SimpleItoa (unsigned long long i) |
| |
|
bool | ascii_isalnum (char c) |
| |
|
bool | ascii_isdigit (char c) |
| |
|
bool | HasSuffixString (const string &str, const string &suffix) |
| |
|
string | StripSuffixString (const string &str, const string &suffix) |
| |
|
char * | FastUInt32ToBuffer (uint32_t i, char *buffer) |
| |
|
char * | FastUInt64ToBuffer (uint64_t i, char *buffer) |
| |
|
uint16_t | HostToNetwork (uint16_t value) |
| | 16-bit unsigned host to network conversion.
|
| |
| void | RunRDMCallback (RDMCallback *callback, RDMStatusCode status_code) |
| | A helper message to run a RDMCallback with the given status code.
|
| |
| template<typename T> |
| _ToHex< T > | ToHex (T v, bool prefix=true) |
| | Convert a value to a hex string.
|
| |
|
| bool | SupportsUIDs () |
| | Check whether the current platform supports User and Group IDs.
|
| |
| bool | GetUID (uid_t *uid) |
| | Get the real UID of the process.
|
| |
| bool | GetEUID (uid_t *euid) |
| | Get the effective UID of the process.
|
| |
| bool | SetUID (uid_t new_uid) |
| | Set the effective UID of the process.
|
| |
|
| bool | GetGID (gid_t *gid) |
| | Get the real Group ID.
|
| |
| bool | GetEGID (gid_t *egid) |
| | Get the effective group ID.
|
| |
| bool | SetGID (gid_t new_gid) |
| | Set the effective Group ID of the process.
|
| |
|
| int | GetGroups (int size, gid_t list[]) |
| | Get the supplementary group ID's of the process.
|
| |
| bool | SetGroups (size_t size, const gid_t *list) |
| | Set the supplementary group ID's of the process.
|
| |
|
| bool | GetPasswdName (const std::string &name, PasswdEntry *passwd) |
| | Lookup a user account by username.
|
| |
| bool | GetPasswdUID (uid_t uid, PasswdEntry *passwd) |
| | Lookup a user account by UID.
|
| |
|
| bool | GetGroupName (const std::string &name, GroupEntry *passwd) |
| | Lookup a group account by name.
|
| |
| bool | GetGroupGID (gid_t gid, GroupEntry *passwd) |
| | Lookup a group account by GID.
|
| |