HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
version.h File Reference
#include "Platform.h"
+ Include dependency graph for version.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openvdb::OPENVDB_VERSION_NAME::VersionId
 

Namespaces

 openvdb
 
 openvdb::OPENVDB_VERSION_NAME
 

Macros

#define OPENVDB_VERSION_NAME   v4_0_1_sesi
 
#define OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER   4
 
#define OPENVDB_LIBRARY_MINOR_VERSION_NUMBER   0
 
#define OPENVDB_LIBRARY_PATCH_VERSION_NUMBER   1
 
#define OPENVDB_LIBRARY_VERSION_STRING   "4.0.1"
 Library version number string of the form "<major>.<minor>.<patch>". More...
 
#define OPENVDB_LIBRARY_VERSION_NUMBER
 Library version number as a packed integer ("%02x%02x%04x", major, minor, patch) More...
 
#define OPENVDB_USE_VERSION_NAMESPACE
 

Enumerations

enum  {
  openvdb::OPENVDB_VERSION_NAME::OPENVDB_FILE_VERSION_ROOTNODE_MAP = 213, openvdb::OPENVDB_VERSION_NAME::OPENVDB_FILE_VERSION_INTERNALNODE_COMPRESSION = 214, openvdb::OPENVDB_VERSION_NAME::OPENVDB_FILE_VERSION_SIMPLIFIED_GRID_TYPENAME = 215, openvdb::OPENVDB_VERSION_NAME::OPENVDB_FILE_VERSION_GRID_INSTANCING = 216,
  openvdb::OPENVDB_VERSION_NAME::OPENVDB_FILE_VERSION_BOOL_LEAF_OPTIMIZATION = 217, openvdb::OPENVDB_VERSION_NAME::OPENVDB_FILE_VERSION_HBOOST_UUID = 218, openvdb::OPENVDB_VERSION_NAME::OPENVDB_FILE_VERSION_NO_GRIDMAP = 219, openvdb::OPENVDB_VERSION_NAME::OPENVDB_FILE_VERSION_NEW_TRANSFORM = 219,
  openvdb::OPENVDB_VERSION_NAME::OPENVDB_FILE_VERSION_SELECTIVE_COMPRESSION = 220, openvdb::OPENVDB_VERSION_NAME::OPENVDB_FILE_VERSION_FLOAT_FRUSTUM_BBOX = 221, openvdb::OPENVDB_VERSION_NAME::OPENVDB_FILE_VERSION_NODE_MASK_COMPRESSION = 222, openvdb::OPENVDB_VERSION_NAME::OPENVDB_FILE_VERSION_BLOSC_COMPRESSION = 223,
  openvdb::OPENVDB_VERSION_NAME::OPENVDB_FILE_VERSION_POINT_INDEX_GRID = 223, openvdb::OPENVDB_VERSION_NAME::OPENVDB_FILE_VERSION_MULTIPASS_IO = 224
}
 Notable file format version numbers. More...
 

Functions

const char * openvdb::OPENVDB_VERSION_NAME::getLibraryVersionString ()
 Return a library version number string of the form "<major>.<minor>.<patch>". More...
 

Variables

const int32_t openvdb::OPENVDB_VERSION_NAME::OPENVDB_MAGIC = 0x56444220
 The magic number is stored in the first four bytes of every VDB file. More...
 
const uint32_t openvdb::OPENVDB_VERSION_NAME::OPENVDB_LIBRARY_MAJOR_VERSION = OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
 
const uint32_t openvdb::OPENVDB_VERSION_NAME::OPENVDB_LIBRARY_MINOR_VERSION = OPENVDB_LIBRARY_MINOR_VERSION_NUMBER
 
const uint32_t openvdb::OPENVDB_VERSION_NAME::OPENVDB_LIBRARY_PATCH_VERSION = OPENVDB_LIBRARY_PATCH_VERSION_NUMBER
 
const uint32_t openvdb::OPENVDB_VERSION_NAME::OPENVDB_LIBRARY_VERSION = OPENVDB_LIBRARY_VERSION_NUMBER
 Library version number as a packed integer ("%02x%02x%04x", major, minor, patch) More...
 
const uint32_t openvdb::OPENVDB_VERSION_NAME::OPENVDB_FILE_VERSION = 224
 The current version number of the VDB file format. More...
 

Macro Definition Documentation

#define OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER   4

Definition at line 46 of file version.h.

#define OPENVDB_LIBRARY_MINOR_VERSION_NUMBER   0

Definition at line 47 of file version.h.

#define OPENVDB_LIBRARY_PATCH_VERSION_NUMBER   1

Definition at line 48 of file version.h.

#define OPENVDB_LIBRARY_VERSION_NUMBER
Value:
#define OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
Definition: version.h:46
#define OPENVDB_LIBRARY_MINOR_VERSION_NUMBER
Definition: version.h:47
#define OPENVDB_LIBRARY_PATCH_VERSION_NUMBER
Definition: version.h:48

Library version number as a packed integer ("%02x%02x%04x", major, minor, patch)

Definition at line 57 of file version.h.

#define OPENVDB_LIBRARY_VERSION_STRING   "4.0.1"

Library version number string of the form "<major>.<minor>.<patch>".

This is a macro rather than a static constant because we typically want the compile-time version number, not the runtime version number (although the two are usually the same).

Definition at line 54 of file version.h.

#define OPENVDB_USE_VERSION_NAMESPACE
Value:
namespace OPENVDB_VERSION_NAME {} \
using namespace OPENVDB_VERSION_NAME;
#define OPENVDB_VERSION_NAME
Definition: version.h:43

If OPENVDB_REQUIRE_VERSION_NAME is undefined, symbols from the version namespace are promoted to the top-level namespace (e.g., openvdb::v1_0_0::io::File can be referred to simply as openvdb::io::File). Otherwise, symbols must be fully namespace-qualified.

Note
The empty namespace clause below ensures that OPENVDB_VERSION_NAME is recognized as a namespace name.

Definition at line 71 of file version.h.

#define OPENVDB_VERSION_NAME   v4_0_1_sesi

The version namespace name for this library version

Fully-namespace-qualified symbols are named as follows: openvdb::vX_Y_Z::Vec3i, openvdb::vX_Y_Z::io::File, openvdb::vX_Y_Z::tree::Tree, etc., where X, Y and Z are OPENVDB_LIBRARY_MAJOR_VERSION, OPENVDB_LIBRARY_MINOR_VERSION and OPENVDB_LIBRARY_PATCH_VERSION, respectively (defined below).

Definition at line 43 of file version.h.