HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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_LIBRARY_MAJOR_VERSION_NUMBER   6
 
#define OPENVDB_LIBRARY_MINOR_VERSION_NUMBER   2
 
#define OPENVDB_LIBRARY_PATCH_VERSION_NUMBER   1
 
#define OPENVDB_ABI_VERSION_NUMBER   OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
 < More...
 
#define OPENVDB_VERSION_NAME
 The version namespace name for this library version. More...
 
#define OPENVDB_LIBRARY_VERSION_STRING
 Library version number string of the form "<major>.<minor>.<patch>". More...
 
#define OPENVDB_LIBRARY_ABI_VERSION_STRING
 Library version number string of the form "<major>.<minor>.<patch>abi<abi>". 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
 
Utilities
#define OPENVDB_PREPROC_STRINGIFY(x)   OPENVDB_PREPROC_STRINGIFY_(x)
 Return x as a string literal. If x is a macro, return its value as a string literal. More...
 
#define OPENVDB_PREPROC_CONCAT(x, y)   OPENVDB_PREPROC_CONCAT_(x, y)
 Form a new token by concatenating two existing tokens. If either token is a macro, concatenate its value. More...
 

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

constexpr const char * openvdb::OPENVDB_VERSION_NAME::getLibraryVersionString ()
 Return a library version number string of the form "<major>.<minor>.<patch>". More...
 
constexpr const char * openvdb::OPENVDB_VERSION_NAME::getLibraryAbiVersionString ()
 Return a library version number string of the form "<major>.<minor>.<patch>abi<abi>". 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_ABI_VERSION = OPENVDB_ABI_VERSION_NUMBER
 
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_ABI_VERSION_NUMBER   OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER

<

Todo:
deprecated

<

Todo:
deprecated

Definition at line 112 of file version.h.

#define OPENVDB_LIBRARY_ABI_VERSION_STRING

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

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 177 of file version.h.

#define OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER   6

Definition at line 94 of file version.h.

#define OPENVDB_LIBRARY_MINOR_VERSION_NUMBER   2

Definition at line 95 of file version.h.

#define OPENVDB_LIBRARY_PATCH_VERSION_NUMBER   1

Definition at line 96 of file version.h.

#define OPENVDB_LIBRARY_VERSION_NUMBER
Value:
#define OPENVDB_LIBRARY_MINOR_VERSION_NUMBER
Definition: version.h:95
#define OPENVDB_LIBRARY_PATCH_VERSION_NUMBER
Definition: version.h:96
#define OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER
Definition: version.h:94

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

Definition at line 181 of file version.h.

#define OPENVDB_LIBRARY_VERSION_STRING

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 167 of file version.h.

#define OPENVDB_PREPROC_CONCAT (   x,
  y 
)    OPENVDB_PREPROC_CONCAT_(x, y)

Form a new token by concatenating two existing tokens. If either token is a macro, concatenate its value.

Definition at line 90 of file version.h.

#define OPENVDB_PREPROC_STRINGIFY (   x)    OPENVDB_PREPROC_STRINGIFY_(x)

Return x as a string literal. If x is a macro, return its value as a string literal.

Definition at line 82 of file version.h.

#define OPENVDB_USE_VERSION_NAMESPACE

By default, the OPENVDB_REQUIRE_VERSION_NAME macro is undefined, and symbols from the version namespace are promoted to the top-level namespace so that, for example, openvdb::v5_0::io::File can be referred to simply as openvdb::io::File.

When OPENVDB_REQUIRE_VERSION_NAME is defined, symbols must be fully namespace-qualified.

Definition at line 200 of file version.h.

#define OPENVDB_VERSION_NAME

The version namespace name for this library version.

When the ABI version number matches the library major version number, symbols are named as in the following examples:

  • openvdb::vX_Y::Vec3i
  • openvdb::vX_Y::io::File
  • openvdb::vX_Y::tree::Tree

where X and Y are the major and minor version numbers.

When the ABI version number does not match the library major version number, symbol names include the ABI version:

  • openvdb::vX_YabiN::Vec3i
  • openvdb::vX_YabiN::io::File
  • openvdb::vX_YabiN::tree::Tree

where X, Y and N are the major, minor and ABI version numbers, respectively.

Definition at line 146 of file version.h.