AJA NTV2 SDK  17.1.1.1245
NTV2 SDK 17.1.1.1245
NTV2BitfileHeaderParser Class Reference

Knows how to extract information from a bitfile header. More...

#include <ntv2bitfile.h>

Public Member Functions

 NTV2BitfileHeaderParser ()
 
bool ParseHeader (const NTV2Buffer &inHdrBuffer, std::ostream &outMsgs)
 
void Clear (void)
 
ULWord UserID (void) const
 
const std::string & Date (void) const
 
const std::string & Time (void) const
 
const std::string & PartName (void) const
 
const std::string & RawDesign (void) const
 
std::string DesignName (void) const
 
ULWord DesignID (void) const
 
ULWord DesignVersion (void) const
 
ULWord BitfileID (void) const
 
ULWord BitfileVersion (void) const
 
ULWord ProgramOffsetBytes (void) const
 
ULWord ProgramSizeBytes (void) const
 
bool IsValid (void) const
 
bool IsTandem (void) const
 
bool IsPartial (void) const
 
bool IsClear (void) const
 
bool IsCompress (void) const
 

Static Public Member Functions

static ULWord GetDesignID (const ULWord userID)
 
static ULWord GetDesignVersion (const ULWord userID)
 
static ULWord GetBitfileID (const ULWord userID)
 
static ULWord GetBitfileVersion (const ULWord userID)
 

Protected Member Functions

bool SetRawDesign (const std::string &inStr, std::ostream &oss)
 
bool SetDate (const std::string &inStr, std::ostream &oss)
 
bool SetTime (const std::string &inStr, std::ostream &oss)
 
void SetPartName (const std::string &inStr)
 
bool SetProgramOffsetBytes (const ULWord inValue, std::ostream &oss)
 
bool SetProgramSizeBytes (const ULWord inValue, std::ostream &oss)
 

Detailed Description

Knows how to extract information from a bitfile header.

Definition at line 26 of file ntv2bitfile.h.

Constructor & Destructor Documentation

◆ NTV2BitfileHeaderParser()

NTV2BitfileHeaderParser::NTV2BitfileHeaderParser ( )
inlineexplicit

Definition at line 29 of file ntv2bitfile.h.

Member Function Documentation

◆ BitfileID()

ULWord NTV2BitfileHeaderParser::BitfileID ( void  ) const
inline

Definition at line 43 of file ntv2bitfile.h.

◆ BitfileVersion()

ULWord NTV2BitfileHeaderParser::BitfileVersion ( void  ) const
inline

Definition at line 44 of file ntv2bitfile.h.

◆ Clear()

void NTV2BitfileHeaderParser::Clear ( void  )

Definition at line 51 of file ntv2bitfile.cpp.

◆ Date()

const std::string& NTV2BitfileHeaderParser::Date ( void  ) const
inline

Definition at line 35 of file ntv2bitfile.h.

◆ DesignID()

ULWord NTV2BitfileHeaderParser::DesignID ( void  ) const
inline

Definition at line 41 of file ntv2bitfile.h.

◆ DesignName()

string NTV2BitfileHeaderParser::DesignName ( void  ) const

Definition at line 58 of file ntv2bitfile.cpp.

◆ DesignVersion()

ULWord NTV2BitfileHeaderParser::DesignVersion ( void  ) const
inline

Definition at line 42 of file ntv2bitfile.h.

◆ GetBitfileID()

static ULWord NTV2BitfileHeaderParser::GetBitfileID ( const ULWord  userID)
inlinestatic

Definition at line 56 of file ntv2bitfile.h.

◆ GetBitfileVersion()

static ULWord NTV2BitfileHeaderParser::GetBitfileVersion ( const ULWord  userID)
inlinestatic

Definition at line 57 of file ntv2bitfile.h.

◆ GetDesignID()

static ULWord NTV2BitfileHeaderParser::GetDesignID ( const ULWord  userID)
inlinestatic

Definition at line 54 of file ntv2bitfile.h.

◆ GetDesignVersion()

static ULWord NTV2BitfileHeaderParser::GetDesignVersion ( const ULWord  userID)
inlinestatic

Definition at line 55 of file ntv2bitfile.h.

◆ IsClear()

bool NTV2BitfileHeaderParser::IsClear ( void  ) const
inline

Definition at line 50 of file ntv2bitfile.h.

◆ IsCompress()

bool NTV2BitfileHeaderParser::IsCompress ( void  ) const
inline

Definition at line 51 of file ntv2bitfile.h.

◆ IsPartial()

bool NTV2BitfileHeaderParser::IsPartial ( void  ) const
inline

Definition at line 49 of file ntv2bitfile.h.

◆ IsTandem()

bool NTV2BitfileHeaderParser::IsTandem ( void  ) const
inline

Definition at line 48 of file ntv2bitfile.h.

◆ IsValid()

bool NTV2BitfileHeaderParser::IsValid ( void  ) const
inline

Definition at line 47 of file ntv2bitfile.h.

◆ ParseHeader()

bool NTV2BitfileHeaderParser::ParseHeader ( const NTV2Buffer inHdrBuffer,
std::ostream &  outMsgs 
)

Definition at line 176 of file ntv2bitfile.cpp.

◆ PartName()

const std::string& NTV2BitfileHeaderParser::PartName ( void  ) const
inline

Definition at line 37 of file ntv2bitfile.h.

◆ ProgramOffsetBytes()

ULWord NTV2BitfileHeaderParser::ProgramOffsetBytes ( void  ) const
inline

Definition at line 45 of file ntv2bitfile.h.

◆ ProgramSizeBytes()

ULWord NTV2BitfileHeaderParser::ProgramSizeBytes ( void  ) const
inline

Definition at line 46 of file ntv2bitfile.h.

◆ RawDesign()

const std::string& NTV2BitfileHeaderParser::RawDesign ( void  ) const
inline

Definition at line 38 of file ntv2bitfile.h.

◆ SetDate()

bool NTV2BitfileHeaderParser::SetDate ( const std::string &  inStr,
std::ostream &  oss 
)
protected

Definition at line 125 of file ntv2bitfile.cpp.

◆ SetPartName()

void NTV2BitfileHeaderParser::SetPartName ( const std::string &  inStr)
inlineprotected

Definition at line 63 of file ntv2bitfile.h.

◆ SetProgramOffsetBytes()

bool NTV2BitfileHeaderParser::SetProgramOffsetBytes ( const ULWord  inValue,
std::ostream &  oss 
)
protected

Definition at line 159 of file ntv2bitfile.cpp.

◆ SetProgramSizeBytes()

bool NTV2BitfileHeaderParser::SetProgramSizeBytes ( const ULWord  inValue,
std::ostream &  oss 
)
protected

Definition at line 167 of file ntv2bitfile.cpp.

◆ SetRawDesign()

bool NTV2BitfileHeaderParser::SetRawDesign ( const std::string &  inStr,
std::ostream &  oss 
)
protected

Definition at line 71 of file ntv2bitfile.cpp.

◆ SetTime()

bool NTV2BitfileHeaderParser::SetTime ( const std::string &  inStr,
std::ostream &  oss 
)
protected

Definition at line 143 of file ntv2bitfile.cpp.

◆ Time()

const std::string& NTV2BitfileHeaderParser::Time ( void  ) const
inline

Definition at line 36 of file ntv2bitfile.h.

◆ UserID()

ULWord NTV2BitfileHeaderParser::UserID ( void  ) const
inline

Definition at line 34 of file ntv2bitfile.h.


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