#include <mediafmt.h>
Public Types | |
enum | MergeType { NoMerge, MinMerge, MaxMerge, EqualMerge, NotEqualMerge, AlwaysMerge, AndMerge = MaxMerge, OrMerge = MinMerge, XorMerge = NotEqualMerge, NotXorMerge = EqualMerge } |
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) |
Protected Member Functions | |
OpalMediaOption (const char *name, bool readOnly, MergeType merge) | |
Protected Attributes | |
PString | m_name |
bool | m_readOnly |
MergeType | m_merge |
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, and OpalMediaOptionString.
virtual void OpalMediaOption::Assign | ( | const OpalMediaOption & | option | ) | [pure virtual] |
Implemented in OpalMediaOptionValue< T >, OpalMediaOptionEnum, and OpalMediaOptionString.
PString OpalMediaOption::AsString | ( | ) | const |
bool OpalMediaOption::FromString | ( | const PString & | value | ) |
const PString& OpalMediaOption::GetName | ( | ) | const [inline] |
References m_name.
bool OpalMediaOption::IsReadOnly | ( | ) | const [inline] |
References m_readOnly.
void OpalMediaOption::SetReadOnly | ( | bool | readOnly | ) | [inline] |
References m_readOnly.
PString OpalMediaOption::m_name [protected] |
Referenced by GetName().
bool OpalMediaOption::m_readOnly [protected] |
Referenced by IsReadOnly(), and SetReadOnly().
MergeType OpalMediaOption::m_merge [protected] |
Referenced by GetMerge(), and SetMerge().