#include <mediafmt.h>
Inheritance diagram for OpalMediaOption:
Public Types | |
enum | MergeType { NoMerge, MinMerge, MaxMerge, EqualMerge, NotEqualMerge, AlwaysMerge, AndMerge = MinMerge, OrMerge = MaxMerge } |
Public Member Functions | |
virtual Comparison | Compare (const PObject &obj) const |
bool | Merge (const OpalMediaOption &option) |
virtual Comparison | CompareValue (const OpalMediaOption &option) const =0 |
virtual void | Assign (const OpalMediaOption &option)=0 |
PString | AsString () const |
bool | FromString (const PString &value) |
const PString & | GetName () const |
bool | IsReadOnly () const |
void | SetReadOnly (bool readOnly) |
MergeType | GetMerge () const |
void | SetMerge (MergeType merge) |
const PString & | GetFMTPName () const |
void | SetFMTPName (const char *name) |
const PString & | GetFMTPDefault () const |
void | SetFMTPDefault (const char *value) |
const H245GenericInfo & | GetH245Generic () const |
void | SetH245Generic (const H245GenericInfo &generic) |
Protected Member Functions | |
OpalMediaOption (const char *name, bool readOnly, MergeType merge) | |
Protected Attributes | |
PCaselessString | m_name |
bool | m_readOnly |
MergeType | m_merge |
PCaselessString | m_FMTPName |
PString | m_FMTPDefault |
H245GenericInfo | m_H245Generic |
Classes | |
struct | H245GenericInfo |
OpalMediaOption::OpalMediaOption | ( | const char * | name, | |
bool | readOnly, | |||
MergeType | merge | |||
) | [protected] |
virtual Comparison OpalMediaOption::Compare | ( | const PObject & | obj | ) | const [virtual] |
bool OpalMediaOption::Merge | ( | const OpalMediaOption & | option | ) |
virtual Comparison OpalMediaOption::CompareValue | ( | const OpalMediaOption & | option | ) | const [pure virtual] |
Implemented in OpalMediaOptionValue< T >, OpalMediaOptionEnum, OpalMediaOptionString, and OpalMediaOptionOctets.
virtual void OpalMediaOption::Assign | ( | const OpalMediaOption & | option | ) | [pure virtual] |
Implemented in OpalMediaOptionValue< T >, OpalMediaOptionEnum, OpalMediaOptionString, and OpalMediaOptionOctets.
PString OpalMediaOption::AsString | ( | ) | const |
bool OpalMediaOption::FromString | ( | const PString & | value | ) |
const PString& OpalMediaOption::GetName | ( | ) | const [inline] |
bool OpalMediaOption::IsReadOnly | ( | ) | const [inline] |
void OpalMediaOption::SetReadOnly | ( | bool | readOnly | ) | [inline] |
MergeType OpalMediaOption::GetMerge | ( | ) | const [inline] |
void OpalMediaOption::SetMerge | ( | MergeType | merge | ) | [inline] |
const PString& OpalMediaOption::GetFMTPName | ( | ) | const [inline] |
void OpalMediaOption::SetFMTPName | ( | const char * | name | ) | [inline] |
const PString& OpalMediaOption::GetFMTPDefault | ( | ) | const [inline] |
void OpalMediaOption::SetFMTPDefault | ( | const char * | value | ) | [inline] |
const H245GenericInfo& OpalMediaOption::GetH245Generic | ( | ) | const [inline] |
void OpalMediaOption::SetH245Generic | ( | const H245GenericInfo & | generic | ) | [inline] |
PCaselessString OpalMediaOption::m_name [protected] |
bool OpalMediaOption::m_readOnly [protected] |
MergeType OpalMediaOption::m_merge [protected] |
PCaselessString OpalMediaOption::m_FMTPName [protected] |
PString OpalMediaOption::m_FMTPDefault [protected] |
H245GenericInfo OpalMediaOption::m_H245Generic [protected] |