libebml_ng
Public Member Functions | Public Attributes | List of all members
ebml::childTypeSpecArg_t Struct Reference

Structure representing a single child type specification argument. More...

#include <childTypeSpec.h>

Public Member Functions

 childTypeSpecArg_t ()
 
 childTypeSpecArg_t (const ebmlElementType *, unsigned long min=0, long max=-1)
 

Public Attributes

const ebmlElementTypecls
 
unsigned long min
 
long max
 

Detailed Description

Structure representing a single child type specification argument.

This structure holds the pointer to an ebml::ebmlElementType along with the minimum and maximum allowed occurrences for that child element.

Instances of this class, as well as lists thereof (through std::list or std::initializer_list) can be used to initialize ebml::childTypeSpec_t objects.

Constructor & Destructor Documentation

◆ childTypeSpecArg_t() [1/2]

ebml::childTypeSpecArg_t::childTypeSpecArg_t ( )

◆ childTypeSpecArg_t() [2/2]

ebml::childTypeSpecArg_t::childTypeSpecArg_t ( const ebmlElementType cls,
unsigned long  min = 0,
long  max = -1 
)

Member Data Documentation

◆ cls

const ebmlElementType* ebml::childTypeSpecArg_t::cls

◆ max

long ebml::childTypeSpecArg_t::max

◆ min

unsigned long ebml::childTypeSpecArg_t::min

The documentation for this struct was generated from the following files: