neuray API Programmer's Manual

enums.h File Reference

Description

Basic enums. See Logging.

Code Example

enums.h

‎//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************

#ifndef MI_BASE_ENUMS_H
#define MI_BASE_ENUMS_H

#include <mi/base/assert.h>

namespace mi {

namespace base {





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

} // 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...

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...