Other Documented Items
FUNCTIONS
GLOBALS
- AbstractReflectSession * DumbSessionCreationFunc;
-
This is a callback function that may be passed to the ServerProcessLoop() function.
It creates and returns a new DumbReflectSession object.
- enum { LOG_NONE = 0, // nothing ever gets logged at this level (default) LOG_CRITICALERROR, // only things that should never ever happen LOG_ERROR, // things that shouldn't usually happen LOG_WARNING, // things that are suspicious LOG_INFO, // things that the user might like to know LOG_DEBUG, // things the programmer is debugging with LOG_TRACE, // exhaustively detailed output NUM_LOGLEVELS } ;
-
log level constants to use with SetLogLevel(), GetLogLevel()
I've calculated the integer equivalents for these codes
because gcc whines like a little girl about the four-byte
constants when compiling under Linux --jaf
'ANYT', // wild card B_BOOL_TYPE = 1112493900, // 'BOOL', B_DOUBLE_TYPE = 1145195589, // 'DBLE', B_FLOAT_TYPE = 1179406164, // 'FLOT', B_INT64_TYPE = 1280069191, // 'LLNG', B_INT32_TYPE = 1280265799, // 'LONG', B_INT16_TYPE = 1397248596, // 'SHRT', B_INT8_TYPE = 1113150533, // 'BYTE', B_MESSAGE_TYPE = 1297303367, // 'MSGG', B_POINTER_TYPE = 1347310674, // 'PNTR', B_POINT_TYPE = 1112559188, // 'BPNT', B_RECT_TYPE = 1380270932, // 'RECT', B_STRING_TYPE = 1129534546, // 'CSTR', B_OBJECT_TYPE = 1330664530, // 'OPTR', // used for flattened objects B_RAW_TYPE = 1380013908 // 'RAWT' // used for raw byte arrays };
nothing ever gets logged at this level (default) LOG_CRITICALERROR, // only things that should never ever happen LOG_ERROR, // things that shouldn't usually happen LOG_WARNING, // things that are suspicious LOG_INFO, // things that the user might like to know LOG_DEBUG, // things the programmer is debugging with LOG_TRACE, // exhaustively detailed output NUM_LOGLEVELS };
- enum { LOG_NONE = 0, // nothing ever gets logged at this level (default) LOG_CRITICALERROR, // only things that should never ever happen LOG_ERROR, // things that shouldn't usually happen LOG_WARNING, // things that are suspicious LOG_INFO, // things that the user might like to know LOG_DEBUG, // things the programmer is debugging with LOG_TRACE, // exhaustively detailed output NUM_LOGLEVELS } ;
-
log level constants to use with SetLogLevel(), GetLogLevel()
I've calculated the integer equivalents for these codes
because gcc whines like a little girl about the four-byte
constants when compiling under Linux --jaf
'ANYT', // wild card B_BOOL_TYPE = 1112493900, // 'BOOL', B_DOUBLE_TYPE = 1145195589, // 'DBLE', B_FLOAT_TYPE = 1179406164, // 'FLOT', B_INT64_TYPE = 1280069191, // 'LLNG', B_INT32_TYPE = 1280265799, // 'LONG', B_INT16_TYPE = 1397248596, // 'SHRT', B_INT8_TYPE = 1113150533, // 'BYTE', B_MESSAGE_TYPE = 1297303367, // 'MSGG', B_POINTER_TYPE = 1347310674, // 'PNTR', B_POINT_TYPE = 1112559188, // 'BPNT', B_RECT_TYPE = 1380270932, // 'RECT', B_STRING_TYPE = 1129534546, // 'CSTR', B_OBJECT_TYPE = 1330664530, // 'OPTR', // used for flattened objects B_RAW_TYPE = 1380013908 // 'RAWT' // used for raw byte arrays };
nothing ever gets logged at this level (default) LOG_CRITICALERROR, // only things that should never ever happen LOG_ERROR, // things that shouldn't usually happen LOG_WARNING, // things that are suspicious LOG_INFO, // things that the user might like to know LOG_DEBUG, // things the programmer is debugging with LOG_TRACE, // exhaustively detailed output NUM_LOGLEVELS };
- AbstractReflectSession * StorageSessionCreationFunc;
-
This is a callback function that may be passed to the ServerProcessLoop() function.
It creates and returns a new StorageReflector object.
- enum { LOG_NONE = 0, // nothing ever gets logged at this level (default) LOG_CRITICALERROR, // only things that should never ever happen LOG_ERROR, // things that shouldn't usually happen LOG_WARNING, // things that are suspicious LOG_INFO, // things that the user might like to know LOG_DEBUG, // things the programmer is debugging with LOG_TRACE, // exhaustively detailed output NUM_LOGLEVELS } ;
-
log level constants to use with SetLogLevel(), GetLogLevel()
I've calculated the integer equivalents for these codes
because gcc whines like a little girl about the four-byte
constants when compiling under Linux --jaf
'ANYT', // wild card B_BOOL_TYPE = 1112493900, // 'BOOL', B_DOUBLE_TYPE = 1145195589, // 'DBLE', B_FLOAT_TYPE = 1179406164, // 'FLOT', B_INT64_TYPE = 1280069191, // 'LLNG', B_INT32_TYPE = 1280265799, // 'LONG', B_INT16_TYPE = 1397248596, // 'SHRT', B_INT8_TYPE = 1113150533, // 'BYTE', B_MESSAGE_TYPE = 1297303367, // 'MSGG', B_POINTER_TYPE = 1347310674, // 'PNTR', B_POINT_TYPE = 1112559188, // 'BPNT', B_RECT_TYPE = 1380270932, // 'RECT', B_STRING_TYPE = 1129534546, // 'CSTR', B_OBJECT_TYPE = 1330664530, // 'OPTR', // used for flattened objects B_RAW_TYPE = 1380013908 // 'RAWT' // used for raw byte arrays };
nothing ever gets logged at this level (default) LOG_CRITICALERROR, // only things that should never ever happen LOG_ERROR, // things that shouldn't usually happen LOG_WARNING, // things that are suspicious LOG_INFO, // things that the user might like to know LOG_DEBUG, // things the programmer is debugging with LOG_TRACE, // exhaustively detailed output NUM_LOGLEVELS };
- enum { LOG_NONE = 0, // nothing ever gets logged at this level (default) LOG_CRITICALERROR, // only things that should never ever happen LOG_ERROR, // things that shouldn't usually happen LOG_WARNING, // things that are suspicious LOG_INFO, // things that the user might like to know LOG_DEBUG, // things the programmer is debugging with LOG_TRACE, // exhaustively detailed output NUM_LOGLEVELS } ;
-
log level constants to use with SetLogLevel(), GetLogLevel()
I've calculated the integer equivalents for these codes
because gcc whines like a little girl about the four-byte
constants when compiling under Linux --jaf
'ANYT', // wild card B_BOOL_TYPE = 1112493900, // 'BOOL', B_DOUBLE_TYPE = 1145195589, // 'DBLE', B_FLOAT_TYPE = 1179406164, // 'FLOT', B_INT64_TYPE = 1280069191, // 'LLNG', B_INT32_TYPE = 1280265799, // 'LONG', B_INT16_TYPE = 1397248596, // 'SHRT', B_INT8_TYPE = 1113150533, // 'BYTE', B_MESSAGE_TYPE = 1297303367, // 'MSGG', B_POINTER_TYPE = 1347310674, // 'PNTR', B_POINT_TYPE = 1112559188, // 'BPNT', B_RECT_TYPE = 1380270932, // 'RECT', B_STRING_TYPE = 1129534546, // 'CSTR', B_OBJECT_TYPE = 1330664530, // 'OPTR', // used for flattened objects B_RAW_TYPE = 1380013908 // 'RAWT' // used for raw byte arrays };
nothing ever gets logged at this level (default) LOG_CRITICALERROR, // only things that should never ever happen LOG_ERROR, // things that shouldn't usually happen LOG_WARNING, // things that are suspicious LOG_INFO, // things that the user might like to know LOG_DEBUG, // things the programmer is debugging with LOG_TRACE, // exhaustively detailed output NUM_LOGLEVELS };
- int GetFileLogLevel;
-
Returns the current log level for logging to a file.
- int GetConsoleLogLevel;
-
Returns the current log level for logging to stdout.
- int GetMaxLogLevel;
-
Returns the max of GetFileLogLevel() and GetConsoleLogLevel()
TYPEDEFS
MACROS
- MakePrettyTypeCodeString(typecode, buf) : {
uint32 __bigEndian = B_HOST_TO_BENDIAN_INT32(typecode);
memcpy(buf, (const char *)&__bigEndian, sizeof(__bigEndian));
buf[sizeof(__bigEndian)] = '\0';
}
-
Macro to turn a type_code into a string representation.
(typecode) is the type_code to get the string for
(buf) is a (char *) to hold the output string; it must be >= 5 bytes long.