OPAL
Version 3.18.8
|
#include <mediafmt.h>
Public Member Functions | |
OpalMediaOptionValue (const char *name, bool readOnly, OpalMediaOption::MergeType merge=OpalMediaOption::MinMerge, T value=T()) | |
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) |
T | GetValue () const |
void | SetValue (T value) |
![]() | |
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 H245GenericInfo & | GetH245Generic () const |
void | SetH245Generic (const H245GenericInfo &genericInfo) |
Protected Attributes | |
T | m_value |
![]() | |
PCaselessString | m_name |
bool | m_readOnly |
MergeType | m_merge |
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) | |
|
inline |
Referenced by OpalMediaOptionValue< T >::Clone().
|
inlinevirtual |
Implements OpalMediaOption.
References OpalMediaOptionValue< T >::m_value.
|
inlinevirtual |
Reimplemented in OpalMediaOptionNumericalValue< T >.
References OpalMediaOptionValue< T >::OpalMediaOptionValue().
|
inlinevirtual |
Implements OpalMediaOption.
References OpalMediaOptionValue< T >::m_value.
|
inline |
References OpalMediaOptionValue< T >::m_value.
|
inlinevirtual |
Reimplemented from OpalMediaOption.
References OpalMediaOption::IntersectionMerge, OpalMediaOption::m_merge, OpalMediaOptionValue< T >::m_value, and OpalMediaOption::Merge().
|
inlinevirtual |
References OpalMediaOptionValue< T >::m_value.
|
inlinevirtual |
Reimplemented in OpalMediaOptionNumericalValue< T >.
References OpalMediaOptionValue< T >::m_value.
|
inline |
References OpalMediaOptionValue< T >::m_value.
|
protected |
Referenced by OpalMediaOptionValue< T >::Assign(), OpalMediaOptionValue< T >::CompareValue(), OpalMediaOptionValue< T >::GetValue(), OpalMediaOptionValue< T >::Merge(), OpalMediaOptionValue< T >::PrintOn(), OpalMediaOptionValue< T >::ReadFrom(), OpalMediaOptionNumericalValue< T >::ReadFrom(), OpalMediaOptionValue< T >::SetValue(), and OpalMediaOptionNumericalValue< T >::SetValue().