The Omni framework has a compendium of macros and compiler options that are used both internally (helper macro's)
and externally (via compiler options). Certain macro's and options will change how certain portions of the framework
will be used (underlying structures/logic, etc.), this granular control allows a developer to customize the framework to
better suit their developmental needs.
Compiler Options
The following is a list of compiler options that can effect how the framework is built and/or operates.
The following is a list of compiler options that can effect how the framework is built and/or operates.
OMNI_ALLOW_UB- If defined, this allows the framework to compile with undefined behavior.
OMNI_APLNL- If defined, uses the \r new line instead of \n.OMNI_CHRONO_AUTO_INIT_TICK- If defined,omni::chrono::monotonic::tickwill initialize on first call.
OMNI_CLOCK_GETRES_REALTIME- Changes the behavior of theclock_getres
OMNI_COMPILE_FLAGS- If defined, builds in the omni/defs/compile_flags.hpp header
OMNI_DISPOSE_EVENT- If defined, classes within the framework will have a disposing event.OMNI_ENABLE_CXX- Enable a set of C++11 features.OMNI_ENV_WORDEXP- If defined,wordexpfunctionality is used inomni::environment::expand_varsOMNI_EXCEPTION_TERMINATE- The call made when an exception happens within an omni::execption.
OMNI_FW_VER_USE_TIME- The framework will use the build time in framework version string.OMNI_INVALID_DELEGATE_INVOKE_STR- A framework macro/optionOMNI_INVALID_ENUM- A framework macro/optionOMNI_LITE- Enables certain flags that trim portions of code.
OMNI_MUTEX_OWNER- Sets theomni::sync::mutexto keep track of owning thread.
OMNI_NO_BASE_SETLOCALE- Disables the setlocale function in theomni::application
OMNI_NO_CHRONO_AUTO_INIT_TICK- A framework macro/optionOMNI_NO_CLINK- Does not link certain portions of the framework withClinkage
OMNI_NO_DISPOSE_EVENT- Disables theOMNI_DISPOSE_EVENTmacro
OMNI_NO_EXCEPT- Disables exception handling in the framework
OMNI_NO_EXTERN_CONSTS- If defined, Omni constants will not have external linkageOMNI_NO_FW_VER- Disables the framework version header from being baked into the framework.OMNI_NO_MUTEX_OWNER- Disables theOMNI_MUTEX_OWNERmacro
OMNI_NO_NON_PORTABLE- Disables theOMNI_NON_PORTABLEmacro
OMNI_NO_OBJECT_NAME- Disables theOMNI_OBJECT_NAMEmacro
OMNI_NO_PRINTL- Disables the definedprintlnmacro.OMNI_NO_PROC_SYS- Does not use theprocfile system for system path.OMNI_NO_SAFE_APPLICATION- Disables theOMNI_SAFE_APPLICATIONmacro
OMNI_NO_SAFE_ASYNC_TIMER- A framework macro/option
OMNI_NO_SAFE_BASIC_THREAD- Disables theOMNI_SAFE_BASIC_THREADmacro
OMNI_NO_SAFE_CONDITIONAL- Disables the OMNI_SAFE_CONDITIONAL macro
OMNI_NO_SAFE_DELEGATES- Disables theOMNI_SAFE_DELEGATESmacro
OMNI_NO_SAFE_DROP_TIMER- A framework macro/optionOMNI_NO_SAFE_EVENTS- Disables theOMNI_SAFE_EVENTSmacro
OMNI_NO_SAFE_FRAMEWORK- Disables theOMNI_SAFE_FRAMEWORKmacro
OMNI_NO_SAFE_GEO_SIZE- A framework macro/optionOMNI_NO_SAFE_GEOMETRY- A framework macro/optionOMNI_NO_SAFE_MUTEX- Disables theOMNI_SAFE_MUTEXmacro
OMNI_NO_SAFE_POINT2D- A framework macro/optionOMNI_NO_SAFE_POINT3D- A framework macro/optionOMNI_NO_SAFE_PROP- Disables theOMNI_SAFE_PROPmacro
OMNI_NO_SAFE_QUEUE_TIMER- A framework macro/optionOMNI_NO_SAFE_RECTANGLE- A framework macro/optionOMNI_NO_SAFE_RUNNABLE_THREAD- Disables theOMNI_SAFE_RUNNABLE_THREADmacro
OMNI_NO_SAFE_SEMAPHORE- Disables theOMNI_SAFE_SEMAPHOREmacro
OMNI_NO_SAFE_SYNC_TIMER- A framework macro/optionOMNI_NO_SAFE_THREAD- Disables theOMNI_SAFE_THREADmacro
OMNI_NO_SAFE_TIMERS- Disables theOMNI_SAFE_TIMERSmacro
OMNI_NO_SINGLE_FILE- Disables the compilation of the library.cpp file
OMNI_NO_TERMINATE- Disables theOMNI_TERMINATEmacro
OMNI_NO_THROW- Disables exceptions (throw keyword) in the framework.
OMNI_NO_TYPE_INFO- Disables theOMNI_TYPE_INFOmacro
OMNI_NO_WIN_API- Use the Microsoft C Runtime Library where applicable.
OMNI_NO_WIN_LEAN- Does not enable theWIN32_LEAN_AND_MEANmacro
OMNI_NON_PORTABLE- If defined, the framework will enable non-portable code.
OMNI_NULL_MACRO- Defines the NULL value type to use.
OMNI_NULL_PTR- Defines the NULL value type to use.
OMNI_OBJECT_NAME- If defined, adds anamestring member to each object.
OMNI_OFSTREAM_T- A framework macro/optionOMNI_OSTREAM_FN_OPERATOR- A framework macro/optionOMNI_OSTREAM_RAW_OPERATOR- A framework macro/optionOMNI_PATH_EMPTY- A framework macro/optionOMNI_PATH_ERROR- A framework macro/optionOMNI_PATH_SEPARATOR- A framework macro/optionOMNI_SAFE_APPLICATION- Signifies thread safe functions inomni::application
OMNI_SAFE_ASYNC_TIMER- Signifies thread safe functions inomni::chrono::async_timer
OMNI_SAFE_BASIC_THREAD- Signifies thread safe functions in omni::sync::basci_thread
OMNI_SAFE_DELEGATES- Signifies thread safe functions in the delegates
OMNI_SAFE_DROP_TIMER- Signifies thread safe functions inomni::chrono::drop_timer
OMNI_SAFE_EVENTS- Signifies thread safe functions in the events
OMNI_SAFE_FRAMEWORK- Signifies thread safe functions in the framework
OMNI_SAFE_GEO_SIZE- A framework macro/optionOMNI_SAFE_GEOMETRY- A framework macro/optionOMNI_SAFE_LOCKS- Signifies thread safe functions in locking classes
OMNI_SAFE_MUTEX- Signifies thread safe functions inomni::sync::mutex
OMNI_SAFE_POINT2D- A framework macro/optionOMNI_SAFE_POINT3D- A framework macro/optionOMNI_SAFE_PROP- Signifies thread safe functions inomni::property
OMNI_SAFE_QUEUE_TIMER- Signifies thread safe functions inomni::chrono::queue_timer
OMNI_SAFE_RECTANGLE- A framework macro/optionOMNI_SAFE_RUNNABLE_THREAD- Signifies thread safe functions inomni::sync::runnable_thread
OMNI_SAFE_SEMAPHORE- Signifies thread safe functions inomni::sync::semaphore
OMNI_SAFE_SYNC_TIMER- Signifies thread safe functions inomni::chrono::sync_timer
OMNI_SAFE_THREAD- Signifies thread safe functions inomni::sync::thread
OMNI_SAFE_THREADS- Signifies thread safe functions in the threads
OMNI_SAFE_TIMERS- Signifies thread safe functions in the timers
OMNI_SEQUENCE_CONTAINER_TYPE- A framework macro/optionOMNI_SHOW_DEBUG- Display framework debug output.OMNI_SHOW_DEBUG_ERR- Displays errors as part of the debug output.
OMNI_SHOW_DEBUG_FILE- Displays the file as part of the debug output.OMNI_SHOW_DEBUG_FUNC- Displays the function as part of the debug output.OMNI_SHOW_DEBUG_LINE- Displays the line number as part of the debug output.OMNI_SIGCALL- Defines the underlying signal call (e.g. __cdecl).
OMNI_STREAM_FN_OPERATORS- A framework macro/optionOMNI_STREAM_RAW_OPERATORS- A framework macro/optionOMNI_TERMINATE- Defines the underlying terminate function to call.
OMNI_THREAD_ARGS_RAW_PTR- If defined, thread parameters will bevoid*types.
OMNI_THREAD_CDECL- Signifies to use__cdeclfor theOMNI_THREAD_CALL_T
OMNI_THREAD_FASTCALL- Signifies to use__fastcallfor theOMNI_THREAD_CALL_T
OMNI_THREAD_LIB- If defined will build only the threading files in library.cpp
OMNI_THREAD_STDCALL- Signifies to use__stdcallfor theOMNI_THREAD_CALL_T
OMNI_THREADPOOL_USE_SEQ_T- A framework macro/optionOMNI_THROW- If defined, signifies to throw on exception.
OMNI_TIMER_LIB- If defined will build only the timers in library.cpp
OMNI_TYPE_INFO- Defines if the omni::type class should be used in other classes.OMNI_WIN_API- Defines whether to use straight Windows API or CRT functions
OMNI_WIN_MONO_TICK_COUNT- Defines the underlying tick call.
OMNI_WIN_MONO_TICK_COUNT64- Defines the underlying tick call.
OMNI_WIN_MONO_TICK_QPC- Defines the underlying tick call.
OMNI_WIN_USE_EVENT_CONDITIONAL- Defines whether to use an event or condition type on WindowsOMNI_WOSTREAM_FN_OPERATOR- A framework macro/optionOMNI_WOSTREAM_RAW_OPERATOR- A framework macro/option
Helper Macros
The following is a list of helper macros used by the framework that can be utilized in user code.
The following is a list of helper macros used by the framework that can be utilized in user code.
OMNI_B2S- Converts a bool to string equivalent
OMNI_B2WS- Converts a bool to its wide string equivalent
OMNI_BIND- A helper macro for binding to theomni::delegate
OMNI_BIND_CONST- A helper macro for binding theomni::delegateto const membersOMNI_BIND_CONST_EX- A helper macro for binding theomni::delegateto const members
OMNI_BIND_EX- A helper macro for binding theomni::delegate
OMNI_BOOL2STR- Convert a bool value to a string.
OMNI_BOOL2WSTR- Convert a bool value to a wide string.
OMNI_DEF2STR- String-izes the value passed in
OMNI_DEFCONCAT- Concatenate 2 #define values.
OMNI_DELEGATE- A helper macro for defining anomni::delegate
OMNI_DWSTR- Widens a string-ized macro
OMNI_IS_N_BIT_SET- Test if a specific bit is set in a value
OMNI_NEW_LINE- Defines the new line constant used based on system.
OMNI_NULL- The NULL value used throughout the framework.
OMNI_OSTREAM_OPERATOR- A helper macro to implement theoperator<<stream friend function
OMNI_SEQ_T- A framework macro/option
OMNI_SEQUENCE_T- A framework macro/option
OMNI_SET_N_BIT- Sets a bit in a value
OMNI_SIZEOF_BITS- Gets thesizeofa type in bits
OMNI_SLEEP- A helper macro for millisecond sleeps
OMNI_SLEEP_INIT- A helper macro for initializing sleep variables
OMNI_SLEEP1- A helper macro for millisecond sleeps
OMNI_STR_WIDEN- A helper macro used to 'widen' strings.OMNI_STREAM_OPERATORS- A helper macro to implement theoperator<<stream friend functions.
OMNI_STRW- A shortened form of theOMNI_STR_WIDENmacro.OMNI_THREAD_YIELD- A helper macro calling the platform thread yield function.
OMNI_UNICODE- Defined if a Unicode build is detected.OMNI_UNSET_N_BIT- Unsets a bit in a value
OMNI_UNUSED- Can be used to avoid 'unused' warnings in user code.
OMNI_VAL_HAS_FLAG_BIT- Determines if a flag bit is set in a value
OMNI_VAL_SET_FLAG_BIT- Sets a flag bit in a value.
OMNI_VAL_SET_FLAG_BOOL- Sets a flag bit in a value.
OMNI_VAL_SET_FLAG_BOOL_T- Sets a flag bit in a value casting to a specified type.
OMNI_VAL_UNSET_FLAG_BIT- Unsets a flag bit in a value.
OMNI_WINCODE- Defined when a Windows Unicode environment detected.OMNI_WOSTREAM_OPERATOR- A helper macro to implement theoperator<<wide stream friend function
OMNI_WSTR- Widens an input string (defined asL##v)OMNI_XOR_SWAP- A helper macro defining an XOR swap
Framework Macros
The following is a list of macros used internally by the framework.
The following is a list of macros used internally by the framework.
OMNI_CHAR_T- Defines the underlying char type.
OMNI_CLOCK_FREQ_T- Defines the underlying clock frequency variable type.
OMNI_CLOCK_TICK_T- Defines the underlying clock tick type.
OMNI_COND_T- Defines the underlying condition variable type.OMNI_DATE- Defines the build date for the framework.
OMNI_DBG_L1- Defined when debug level > 0.
OMNI_DBG_L2- Defined when debug level > 1.
OMNI_DBG_L3- Defined when debug level > 2.
OMNI_DBG_L4- Defined when debug level > 3.
OMNI_DBG_L5- Defined when debug level > 4.
OMNI_DBGE- A helper macro used for debug error output.
OMNI_DBGEV- A helper macro used for debug error output.
OMNI_DEBUG- Defined when any debug values are defined.
OMNI_FSTREAM_T- Defines the underlyingfstreamtype.
OMNI_FW_VER_MAJ- Defines the current framework major version.
OMNI_FW_VER_MIN- Defines the current framework minor version.
OMNI_FW_VER_STR- Defines the current framework full version string.
OMNI_FW_VER_SUB- Defines the current framework sub version.
OMNI_GLE- Defines the system 'get last error' API used based on OS detected.
OMNI_GLE_PRNT- Can be used in print statements to output the last error code.
OMNI_IFSTREAM_T- Defines the underlyingifstreamtype.
OMNI_ISTREAM_T- Defines the underlyingistreamtype.
OMNI_MUTEX_T- Defines the underlying mutex handle type based on system.
OMNI_OS_AEGIS- Defines Aegis environment was detected.OMNI_OS_AIX- Defines AIX environment was detected.OMNI_OS_AMIGA- Defines Amiga environment was detected.OMNI_OS_ANDROID- Defines Android environment was detected.OMNI_OS_APPLE- Defines Apple environment was detected.OMNI_OS_APPOLO- Defines Appolo environment was detected.OMNI_OS_BEOS- Defines BeOS environment was detected.OMNI_OS_BLUEGENE- Defines Blue Gene environment was detected.OMNI_OS_BSD- Defines BSD environment was detected.OMNI_OS_BSDI- Defines BSD/OS environment was detected.OMNI_OS_CONVEX- Defines ConvexOS environment was detected.OMNI_OS_CRAY- Defines UNICOS/mp environment was detected.OMNI_OS_CYGWIN- Defines Cygwin environment was detected.OMNI_OS_DGUX- Defines DG/UX environment was detected.OMNI_OS_DRAGONFLYBSD- Defines DragnFly BSD environment was detected.OMNI_OS_DYNIX- Defines DYNIX/ptx environment was detected.OMNI_OS_ECOS- Defines eCos environment was detected.OMNI_OS_EMX- Defines EMX environment was detected.OMNI_OS_FREEBSD- Defines FreeBSD environment was detected.OMNI_OS_GNU_FREEBSD- Defines GNU/kFreeBSD environment was detected.OMNI_OS_GNU_HURD- Defines GNU aka GNU/Hurd environment was detected.OMNI_OS_GNU_LINUX- Defines GNU/Linux environment was detected.OMNI_OS_HIUXMPP- Defines HI-UX MPP environment was detected.OMNI_OS_HPUX- Defines HP-UX environment was detected.OMNI_OS_IGNORE- Do not attempt to guess the OS type based on compiler macros.OMNI_OS_INTEGRITY- Defines INTEGRITY environment was detected.OMNI_OS_INTERIX- Defines Interix environment was detected.OMNI_OS_IRIX- Defines IRIX environment was detected.OMNI_OS_LINUX- Defines Linux environment was detected.OMNI_OS_LYNXOS- Defines LynxOS environment was detected.OMNI_OS_MACOS- Defines Apple macOS environment was detected.OMNI_OS_MICROWARE_OS9- Defines Microware OS-9 environment was detected.OMNI_OS_MINGW- Defines a MinGW environment was detected.OMNI_OS_MINIX- Defines MINIX environment was detected.OMNI_OS_MORPHOS- Defines MorphOS environment was detected.OMNI_OS_MPEIX- Defines MPE/iX environment was detected.OMNI_OS_MSDOS- Defines MSDOS environment was detected.OMNI_OS_NETBSD- Defines NetBSD environment was detected.OMNI_OS_NONSTOP- Defines NonStop environment was detected.OMNI_OS_NUCLEUS- Defines Nucleus RTOS environment was detected.OMNI_OS_OPENBSD- Defines OpenBSD environment was detected.OMNI_OS_OS2- Defines OS/2 environment was detected.OMNI_OS_OS400- Defines IBM OS/400 environment was detected.OMNI_OS_OSF1- Defines Tru64 (OSF/1) environment was detected.OMNI_OS_PALMOS- Defines Palm OS environment was detected.OMNI_OS_PYRAMID- Defines Pyramid DC/OSx environment was detected.OMNI_OS_QNX- Defines QNX environment was detected.OMNI_OS_RELIANT_UNIX- Defines Reliant UNIX environment was detected.OMNI_OS_SCO_OPENSERVER- Defines SCO OpenServer environment was detected.OMNI_OS_SOLARIS- Defines Solaris environment was detected.OMNI_OS_SUNOS- Defines SunOS environment was detected.OMNI_OS_SVR- Defines SVR4 environment was detected.OMNI_OS_SYLLABLE- Defines Syllable environment was detected.OMNI_OS_SYMBIAN- Defines Symbian OS environment was detected.OMNI_OS_ULTRIX- Defines Ultrix environment was detected.OMNI_OS_UNICOS- Defines UNICOS environment was detected.OMNI_OS_UNIX- Defines Unix environment was detected.OMNI_OS_UNIXWARE- Defines UnixWare environment was detected.OMNI_OS_UTS- Defines Amdahl UTS environment was detected.OMNI_OS_UWIN- Defines U/Win environment was detected.OMNI_OS_VMS- Defines VMS environment was detected.OMNI_OS_VOS- Defines Stratus VOS environment was detected.OMNI_OS_WIN- Defines Windows environment was detected.OMNI_OS_WIN8- Defines that Windows 8 API headers should be used.OMNI_OS_WINCE- Defines WindowsCE environment was detected.OMNI_OS_WINDU- Defines Wind/U environment was detected.OMNI_OS_ZOS- Defines z/OS environment was detected.OMNI_OSTREAM_T- Defines the underlyingostreamtype.
OMNI_SEM_T- Defines the underlying semaphore type based on system.
OMNI_SPIN_LOCK_T- Defines the spin lock type used by the framework.
OMNI_SSTREAM_T- Defines the underlying string stream type for the framework/types.
OMNI_STRING_T- Defines the underlying string type.OMNI_THREAD_ARG_NULL_T- Defines the null thread parameter argument type used by the framework.
OMNI_THREAD_ARGS_T- Defines the thread parameter argument type used by the framework.
OMNI_THREAD_CALL_T- Defines the thread function call type.
OMNI_THREAD_FNPTR_T- Defines the thread function pointer type used by the framework.
OMNI_THREAD_HANDLE_T- Defines the thread handle type used by the framework.
OMNI_THREAD_RET_T- Defines the thread function return type used by the framework.
OMNI_THREAD_T- Defines the thread type used by the framework.
OMNI_TIME- The timestamp used for the framework version information.
Constant Macros
The following is a list of macro constants and options used by the framework.
The following is a list of macro constants and options used by the framework.
OMNI_APP_RUNNING_STR- "An application context is already running"OMNI_B_STR- "B"OMNI_BYTE_STR- "Byte"OMNI_COMMA_CHAR- ','OMNI_EIB_STR- "EiB"OMNI_EIBI_STR- "Exbibyte"OMNI_EOB_STR- "EB"OMNI_ERR_ACQUIRE_STR- "Could not acquire thread"OMNI_ERR_APPEX_STR- "An application exception occurred"OMNI_ERR_COND_OBJ_STR- "A system error occurred on the conditional object"OMNI_ERR_ENVEX_STR- "An error occurred within the system environment"OMNI_ERR_GET_TIME_STR- "An error occurred getting the system clock time"OMNI_ERR_MALLOC_STR- "Error allocating memory"OMNI_ERR_MTX_OWNER_STR- "Unlock called from non-owning thread"OMNI_ERR_MTX_STATE_STR- "The system mutex was left in an invalid state"OMNI_ERR_MTX_UNLOCKED_STR- "An attempt was made to unlock a non locked mutex"OMNI_ERR_MUTEX_STR- "A system error occurred on the mutex object"OMNI_ERR_NAME_STR- "Name cannot be empty"OMNI_ERR_PIPE_STR- "Failed to open the pipe"OMNI_ERR_PROC_PRI_STR- "Error retrieving the process' priority class"OMNI_ERR_PROC_STR- "Error opening process"OMNI_ERR_RELEASE_STR- "An invalid release count was specified"OMNI_ERR_SEM_STATE_STR- "An attempt was made to release a semaphore in a non-wait state"OMNI_ERR_SEMAPHORE_STR- "A system error occurred on the semaphore object"OMNI_ERR_SET_PRI_STR- "Error setting the thread's priority"OMNI_ERR_SIZE_STR- "Invalid size written"OMNI_ERR_SPIN_OBJ_STR- "A system error occurred on the spin lock object"OMNI_ERR_STATE_STR- "Internal state error"OMNI_ERR_STOPWATCH_STR- "An error occurred on the stopwatch object"OMNI_ERR_STROBJ_STR- "A general exception occurred on the string object"OMNI_ERR_THREAD_STR- "An error occurred on the thread"OMNI_ERR_THREADPOOL_STR- "An error occurred on the threadpool"OMNI_ERR_WAIT_STR- "Active waits pending when disposing a lock object"OMNI_EXA_STR- "Exabyte"OMNI_FILE_NOT_ACCESSIBLE_STR- "File not accessible"OMNI_FILE_NOT_FOUND_STR- "File not found"OMNI_GB_IVAL- 1000000000OMNI_GENERAL_EXCEPTION_STR- "General framework exception"OMNI_GIB_IVAL- 1073741824OMNI_GIB_STR- "GiB"OMNI_GIBI_STR- "Gibibyte"OMNI_GIGA_STR- "Gigabyte"OMNI_GOB_STR- "GB"OMNI_INDEX_OOR_STR- "Index out of range"OMNI_INFINITE_TIMEOUT- Defines the infinite timeout value
OMNI_INVALID_BASE_STR- "Invalid base specified while converting to string"OMNI_INVALID_CAST_STR- "Invalid type cast"OMNI_INVALID_CHAR_STR- "Invalid value specified for conversion to char"OMNI_INVALID_DELEGATE_FUNC_STR- "No valid function has been assigned to the delegate"OMNI_INVALID_DELEGATE_STR- "Invalid delegate"OMNI_INVALID_OPTION_STR- "An invalid thread option was specified"OMNI_INVALID_SEEK_DIR_STR- "Invalid seek direction"OMNI_INVALID_SETTING_STR- "An invalid setting was specified"OMNI_INVALID_SIZE_STR- "Invalid size specified"OMNI_INVALID_TEMPLATE_STR- "Invalid template parameter"OMNI_INVALID_THREAD_HANDLE_STR- "Invalid thread handle"OMNI_INVALID_THREAD_PRIORITY_STR- "Invalid thread priority"OMNI_INVALID_THREAD_START_TYPE_STR- "Invalid thread start type specified"OMNI_INVALID_THREAD_STATE_STR- "An invalid thread state was specified for the thread"OMNI_INVALID_VERSION_STR- "Invalid version string specified"OMNI_KB_IVAL- 1000OMNI_KIB_IVAL- 1024OMNI_KIB_STR- "KiB"OMNI_KIBI_STR- "Kibibyte"OMNI_KILO_STR- "Kilobyte"OMNI_KOB_STR- "KB"OMNI_MB_IVAL- 1000000OMNI_MEGA_STR- "Megabyte"OMNI_MIB_IVAL- 1048576OMNI_MIB_STR- "MiB"OMNI_MIBI_STR- "Mebibyte"OMNI_MINUS_CHAR- '-'OMNI_MOB_STR- "MB"OMNI_NCHAR_CHAR- '\0'OMNI_NO_DELEGATE_STR- "Delegate not found"OMNI_NULL_PTR_STR- "Null pointer specified"OMNI_NULL_REF_STR- "A null pointer reference exception occurred"OMNI_PATH_NOT_ACCESSIBLE_STR- "Path not accessible"OMNI_PERIOD_CHAR- '.'OMNI_PETA_STR- "Petabyte"OMNI_PIB_STR- "PiB"OMNI_PIBI_STR- "Pebibyte"OMNI_PLUS_CHAR- '+'OMNI_POB_STR- "PB"OMNI_SET_PRI_UNSUPPORTED_STR- "Setting thread priority is not supported on this system"OMNI_STRING_COUNT_GT0_STR- "Count must be greater than 0"OMNI_STRING_INVALID_FORMAT_STR- "The specified string does not contain a valid binary number"OMNI_STRING_INVALID_SIZE_STR- "The binary string length is greater than sizeof conversion unit"OMNI_STRING_NOT_NUMERIC_STR- "The specified string is not a valid numeric value"OMNI_SUCCESS_STR- "Success"OMNI_TERA_STR- "Terabyte"OMNI_THREAD_STARTED_STR- "A thread has already been started"OMNI_TIB_STR- "TiB"OMNI_TIBI_STR- "Tebibyte"OMNI_TOB_STR- "TB"OMNI_UNKNOWN_STR- "Unknown"OMNI_YIB_STR- "YiB"OMNI_YIBI_STR- "Yobibyte"OMNI_YOB_STR- "YB"OMNI_YOTTA_STR- "Yottabyte"OMNI_ZETTA_STR- "Zettabyte"OMNI_ZIB_STR- "ZiB"OMNI_ZIBI_STR- "Zebibyte"OMNI_ZOB_STR- "ZB"