Main Page | Namespace List | Class List | File List | Namespace Members | Class Members | File Members

sectionformat.cpp File Reference

This file contains the implementation of various functions to query the section formats database. More...

#include "SectionFormat.hpp"
#include <cstring>

Functions

char const * sectionFormat (char const *section_name)
 Obtain the text format of a section.

void getKnownSectionFormats (std::vector< char const * > &formats)
 Determine which section formats are known.

char const * sectionName (unsigned char table_id)
 Obtain the name of a section.


Detailed Description

This file contains the implementation of various functions to query the section formats database.

Copyright (c) 2004, Thomas Guest. All rights reserved.


Function Documentation

void getKnownSectionFormats std::vector< char const * > &  formats_to_set  ) 
 

Determine which section formats are known.

Parameters:
formats_to_set 
Note:
The caller should not attempt to free the strings returned by this function.

char const* sectionFormat char const *  section_name  ) 
 

Obtain the text format of a section.

Parameters:
section_name 
Returns:
The section format, if known. 0 otherwise
Note:
The caller should not attempt to free the strings returned by this function.

char const* sectionName unsigned char  table_id  ) 
 

Obtain the name of a section.

Parameters:
table_id The id of the table which contains this section
Returns:
The section name.


Variable Documentation

char const* format
 

char const* name
 

char const* section_name
 

unsigned char table_id_begin
 


Generated on Fri Nov 26 15:31:03 2004 for DVB Codec by doxygen 1.3.7