MDF Lib 2.2
Interface against MDF 3/4 files
Loading...
Searching...
No Matches
mdf::IChannelHierarchy Class Referenceabstract

Channel hierarchy (CH) block.

#include <ichannelhierarchy.h>

Inheritance diagram for mdf::IChannelHierarchy:
Collaboration diagram for mdf::IChannelHierarchy:

Public Member Functions

virtual void Name (const std::string &name)=0
 Sets name.
 
virtual const std::string & Name () const =0
 Name.
 
virtual void Type (ChType type)=0
 Sets the block type.
 
virtual ChType Type () const =0
 Block type.
 
std::string TypeToString () const
 Block type as text.
 
virtual void Description (const std::string &description)=0
 Sets the descriptive text.
 
virtual std::string Description () const =0
 Description.
 
virtual IMetaDataCreateMetaData ()=0
 Returns an interface against an MD4 block.
 
virtual const IMetaDataMetaData () const =0
 Returns an constant interface against a MD4 block.
 
virtual void AddElementLink (const ElementLink &element)=0
 Adds an element link.
 
virtual const std::vector< ElementLink > & ElementLinks () const =0
 Returns a list of element links.
 
virtual IChannelHierarchyCreateChannelHierarchy ()=0
 Create a CH block.
 
virtual std::vector< IChannelHierarchy * > ChannelHierarchies () const =0
 Returns a list of CH blocks.
 
- Public Member Functions inherited from mdf::IBlock
virtual ~IBlock ()=default
 Default destructor.
 
virtual int64_t Index () const =0
 File position within the file.
 
virtual std::string BlockType () const =0
 Returns the block type.
 

Member Function Documentation

◆ CreateMetaData()

virtual IMetaData * mdf::IChannelHierarchy::CreateMetaData ( )
nodiscardpure virtual
Returns
Pointer to a meta data block.

◆ MetaData()

virtual const IMetaData * mdf::IChannelHierarchy::MetaData ( ) const
nodiscardpure virtual
Returns
Pointer to a meta data block.

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