# AP4_FtypAtom Class Reference

`#include <Ap4FtypAtom.h>`

Inheritance diagram for AP4_FtypAtom:

List of all members.

## Public Member Functions
| AP4_FtypAtom (AP4_UI32 major_brand, AP4_UI32 minor_version, AP4_UI32 *compatible_brands=NULL, AP4_Cardinal compatible_brand_count=0)
virtual AP4_Result | InspectFields (AP4_AtomInspector &inspector)
virtual AP4_Result | WriteFields (AP4_ByteStream &stream)
AP4_UI32 | GetMajorBrand ()
AP4_UI32 | GetMinorVersion ()
AP4_Array< AP4_UI32 > & | GetCompatibleBrands ()
bool | HasCompatibleBrand (AP4_UI32 brand)
## Static Public Member Functions
static AP4_FtypAtom * | Create (AP4_Size size, AP4_ByteStream &stream)

## Detailed Description

Definition at line 52 of file Ap4FtypAtom.h.

## Constructor & Destructor Documentation

AP4_FtypAtom::AP4_FtypAtom | ( | AP4_UI32 | major_brand,
|  | AP4_UI32 | minor_version,
|  | AP4_UI32 * | compatible_brands = `NULL`,
|  | AP4_Cardinal | compatible_brand_count = `0` |
| ) |  |  |

Referenced by Create().

## Member Function Documentation

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

Definition at line 56 of file Ap4FtypAtom.h.

References AP4_FtypAtom().

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

Reimplemented from AP4_Atom.

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

Implements AP4_Atom.

AP4_UI32 AP4_FtypAtom::GetMajorBrand | ( |  | ) | `[inline]`

Definition at line 69 of file Ap4FtypAtom.h.

AP4_UI32 AP4_FtypAtom::GetMinorVersion | ( |  | ) | `[inline]`

Definition at line 70 of file Ap4FtypAtom.h.

AP4_Array<AP4_UI32>& AP4_FtypAtom::GetCompatibleBrands | ( |  | ) | `[inline]`

Definition at line 71 of file Ap4FtypAtom.h.

bool AP4_FtypAtom::HasCompatibleBrand | ( | AP4_UI32 | brand | ) |

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

- Ap4FtypAtom.h