Main Page Class List Class Members

# Nv::Blast::TkType Class Reference

`#include <NvBlastTkType.h>`

Inheritance diagram for Nv::Blast::TkType:

List of all members.

## Public Member Functions
virtual const char * | getName () const =0
virtual uint32_t | getVersion () const =0
bool | operator== (const TkType &type) const

## Detailed Description

Interface for static (class) type data. This data is used for identification in streams, class-specific object queries in TkFramework, etc. Only classes derived from TkIdentifiable use TkType data.

## Member Function Documentation

virtual const char* Nv::Blast::TkType::getName | ( |  | ) | const`[pure virtual]`

The class name.

Returns:
  the class name.

Implemented in Nv::Blast::TkTypeImpl.

virtual uint32_t Nv::Blast::TkType::getVersion | ( |  | ) | const`[pure virtual]`

The data format version for this class. When deserializing, this version must match the current version. If not, the user may convert the data format using the format conversion extension.

Returns:
  the version number.

Implemented in Nv::Blast::TkTypeImpl.

bool Nv::Blast::TkType::operator== | ( | const TkType & | type | ) | const`[inline]`

Test for equality. This type is used in static (per-class) data, so types are equal exactly when their addresses are equal.

Parameters:

  `[in]` | type | The TkType to compare with this TkType.

Returns:
  true if this type equals the input type, false otherwise.

The documentation for this class was generated from the following file:

- sdk/toolkit/include/NvBlastTkType.h