OPAL
Version 3.14.3
|
#include <mediafmt.h>
Public Member Functions | |
OpalMediaOptionEnum (const char *name, bool readOnly) | |
OpalMediaOptionEnum (const char *name, bool readOnly, const char *const *enumerations, PINDEX count, MergeType merge=EqualMerge, PINDEX value=0) | |
virtual PObject * | Clone () const |
virtual void | PrintOn (ostream &strm) const |
virtual void | ReadFrom (istream &strm) |
virtual bool | Merge (const OpalMediaOption &option) |
virtual Comparison | CompareValue (const OpalMediaOption &option) const |
virtual void | Assign (const OpalMediaOption &option) |
PINDEX | GetValue () const |
void | SetValue (PINDEX value) |
const PStringArray & | GetEnumerations () const |
void | SetEnumerations (const PStringArray &e) |
![]() | |
virtual Comparison | Compare (const PObject &obj) const |
virtual bool | ValidateMerge (const OpalMediaOption &option) const |
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) |
void | SetFMTP (const char *name, const char *dflt) |
const H245GenericInfo & | GetH245Generic () const |
void | SetH245Generic (const H245GenericInfo &genericInfo) |
Protected Attributes | |
PStringArray | m_enumerations |
PINDEX | m_value |
![]() | |
PCaselessString | m_name |
bool | m_readOnly |
MergeType | m_merge |
PCaselessString | m_FMTPName |
PString | m_FMTPDefault |
H245GenericInfo | m_H245Generic |
Additional Inherited Members | |
![]() | |
enum | MergeType { NoMerge, MinMerge, MaxMerge, EqualMerge, NotEqualMerge, AlwaysMerge, CustomMerge, IntersectionMerge, AndMerge = MinMerge, OrMerge = MaxMerge } |
![]() | |
OpalMediaOption (const PString &name) | |
OpalMediaOption (const char *name, bool readOnly, MergeType merge) | |
OpalMediaOptionEnum::OpalMediaOptionEnum | ( | const char * | name, |
bool | readOnly | ||
) |
OpalMediaOptionEnum::OpalMediaOptionEnum | ( | const char * | name, |
bool | readOnly, | ||
const char *const * | enumerations, | ||
PINDEX | count, | ||
MergeType | merge = EqualMerge , |
||
PINDEX | value = 0 |
||
) |
|
virtual |
Implements OpalMediaOption.
|
virtual |
|
virtual |
Implements OpalMediaOption.
|
inline |
References m_enumerations.
|
inline |
References m_value.
|
virtual |
Reimplemented from OpalMediaOption.
|
virtual |
|
virtual |
|
inline |
References m_enumerations.
void OpalMediaOptionEnum::SetValue | ( | PINDEX | value | ) |
|
protected |
Referenced by GetEnumerations(), and SetEnumerations().
|
protected |
Referenced by GetValue().