neuray API Programmer's Manual

enums.h File Reference

Description

Basic enums. See Logging.

Code Example

enums.h

‎/***************************************************************************************************
 * Copyright 2024 NVIDIA Corporation. All rights reserved.
 **************************************************************************************************/

#ifndef MI_BASE_ENUMS_H
#define MI_BASE_ENUMS_H

#include <mi/base/assert.h>

namespace mi {

namespace base {

namespace details {





enum Message_severity
{
    MESSAGE_SEVERITY_FATAL          = 0,
    MESSAGE_SEVERITY_ERROR          = 1,
    MESSAGE_SEVERITY_WARNING        = 2,
    MESSAGE_SEVERITY_INFO           = 3,
    MESSAGE_SEVERITY_VERBOSE        = 4,
    MESSAGE_SEVERITY_DEBUG          = 5,
    //  Undocumented, for alignment only
    MESSAGE_SEVERITY_FORCE_32_BIT   = 0xffffffffU
};

mi_static_assert( sizeof( Message_severity) == 4);
 // end group mi_base_ilogger

}

using namespace details;

} // namespace base

} // namespace mi

#endif // MI_BASE_ENUMS_H

Namespaces

namespace 
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
namespace 
Namespace for the Base API. More...
namespace 
Namespace for details of the Base API. More...

Enumerations

enum  {MESSAGE_SEVERITY_FATAL = 0, MESSAGE_SEVERITY_ERROR = 1, MESSAGE_SEVERITY_WARNING = 2, MESSAGE_SEVERITY_INFO = 3, MESSAGE_SEVERITY_VERBOSE = 4, MESSAGE_SEVERITY_DEBUG = 5, MESSAGE_SEVERITY_FORCE_32_BIT = 0xffffffffU }
Constants for possible message severities. More...