#include <mediafmt.h>
Inheritance diagram for OpalMediaOption:
Public Types | |
NoMerge | |
MinMerge | |
MaxMerge | |
EqualMerge | |
NotEqualMerge | |
AlwaysMerge | |
AndMerge = MaxMerge | |
OrMerge = MinMerge | |
XorMerge = NotEqualMerge | |
NotXorMerge = EqualMerge | |
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 void OpalMediaOption::Assign | ( | const OpalMediaOption & | option | ) | [pure virtual] |
Implemented in OpalMediaOptionValue< T >, OpalMediaOptionEnum, and OpalMediaOptionString.
PString OpalMediaOption::AsString | ( | ) | const |
virtual Comparison OpalMediaOption::Compare | ( | const PObject & | obj | ) | const [virtual] |
virtual Comparison OpalMediaOption::CompareValue | ( | const OpalMediaOption & | option | ) | const [pure virtual] |
Implemented in OpalMediaOptionValue< T >, OpalMediaOptionEnum, and OpalMediaOptionString.
bool OpalMediaOption::FromString | ( | const PString & | value | ) |
MergeType OpalMediaOption::GetMerge | ( | ) | const [inline] |
const PString& OpalMediaOption::GetName | ( | ) | const [inline] |
bool OpalMediaOption::IsReadOnly | ( | ) | const [inline] |
bool OpalMediaOption::Merge | ( | const OpalMediaOption & | option | ) |
void OpalMediaOption::SetMerge | ( | MergeType | merge | ) | [inline] |
void OpalMediaOption::SetReadOnly | ( | bool | readOnly | ) | [inline] |
MergeType OpalMediaOption::m_merge [protected] |
PString OpalMediaOption::m_name [protected] |
bool OpalMediaOption::m_readOnly [protected] |