# AP4_IkmsAtom Class Reference

`#include <Ap4IkmsAtom.h>`

Inheritance diagram for AP4_IkmsAtom:

List of all members.

## Public Member Functions
| AP4_IkmsAtom (const char *kms_uri, AP4_UI32 kms_id=0, AP4_UI32 kms_version=0)
virtual AP4_Atom * | Clone ()
| Create a clone of the object.
virtual AP4_Result | InspectFields (AP4_AtomInspector &inspector)
virtual AP4_Result | WriteFields (AP4_ByteStream &stream)
const AP4_String & | GetKmsUri ()
AP4_UI32 | GetKmsId ()
AP4_UI32 | GetKmsVersion ()
## Static Public Member Functions
static AP4_IkmsAtom * | Create (AP4_Size size, AP4_ByteStream &stream)

## Detailed Description

Definition at line 42 of file Ap4IkmsAtom.h.

## Constructor & Destructor Documentation

AP4_IkmsAtom::AP4_IkmsAtom | ( | const char * | kms_uri,
|  | AP4_UI32 | kms_id = `0`,
|  | AP4_UI32 | kms_version = `0` |
| ) |  |  |

## Member Function Documentation

static AP4_IkmsAtom* AP4_IkmsAtom::Create | ( | AP4_Size | size,
|  | AP4_ByteStream & | stream |
| ) |  |  | `[static]`

virtual AP4_Atom* AP4_IkmsAtom::Clone | ( |  | ) | `[virtual]`

Create a clone of the object.

This method returns a clone of the atom, or NULL if the atom cannot be cloned. Override this if your want to make an atom cloneable in a more efficient way than the default implementation.

Reimplemented from AP4_Atom.

virtual AP4_Result AP4_IkmsAtom::InspectFields | ( | AP4_AtomInspector & | inspector | ) | `[virtual]`

Reimplemented from AP4_Atom.

virtual AP4_Result AP4_IkmsAtom::WriteFields | ( | AP4_ByteStream & | stream | ) | `[virtual]`

Implements AP4_Atom.

const AP4_String& AP4_IkmsAtom::GetKmsUri | ( |  | ) | `[inline]`

Definition at line 57 of file Ap4IkmsAtom.h.

AP4_UI32 AP4_IkmsAtom::GetKmsId | ( |  | ) | `[inline]`

Definition at line 58 of file Ap4IkmsAtom.h.

AP4_UI32 AP4_IkmsAtom::GetKmsVersion | ( |  | ) | `[inline]`

Definition at line 59 of file Ap4IkmsAtom.h.

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

- Ap4IkmsAtom.h