OPAL Version 3.10.4

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- Data Structures
- Class Hierarchy
- Data Fields

Public Member Functions | Protected Attributes
OpalMediaOptionValue< T > Class Template Reference

`#include <mediafmt.h>`

Inheritance diagram for OpalMediaOptionValue< T >:

## 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)
Public Member Functions inherited from OpalMediaOption
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)
const H245GenericInfo & | GetH245Generic () const
void | SetH245Generic (const H245GenericInfo &genericInfo)

## Protected Attributes

T | m_value
Protected Attributes inherited from OpalMediaOption
PCaselessString | m_name
bool | m_readOnly
MergeType | m_merge
PCaselessString | m_FMTPName
PString | m_FMTPDefault
H245GenericInfo | m_H245Generic

## Additional Inherited Members

Public Types inherited from OpalMediaOption
enum | MergeType { NoMerge, MinMerge, MaxMerge, EqualMerge, NotEqualMerge, AlwaysMerge, CustomMerge, IntersectionMerge, AndMerge = MinMerge, OrMerge = MaxMerge }
Protected Member Functions inherited from OpalMediaOption
| OpalMediaOption (const PString &name)
| OpalMediaOption (const char *name, bool readOnly, MergeType merge)

## Constructor & Destructor Documentation

template<typename T >

OpalMediaOptionValue< T >::OpalMediaOptionValue | ( | const char * | name,
|  | bool | readOnly,
|  | OpalMediaOption::MergeType | merge = `OpalMediaOption::MinMerge`,
|  | T | value = `T()`
| ) |  |

inline

Referenced by OpalMediaOptionValue< T >::Clone().

## Member Function Documentation

template<typename T >

virtual void OpalMediaOptionValue< T >::Assign | ( | const OpalMediaOption & | option | ) |

inline virtual

Implements OpalMediaOption.

References OpalMediaOptionValue< T >::m_value.

template<typename T >

virtual PObject* OpalMediaOptionValue< T >::Clone | ( |  | ) | const

inline virtual

Reimplemented in OpalMediaOptionNumericalValue< T >.

References OpalMediaOptionValue< T >::OpalMediaOptionValue().

template<typename T >

virtual Comparison OpalMediaOptionValue< T >::CompareValue | ( | const OpalMediaOption & | option | ) | const

inline virtual

Implements OpalMediaOption.

References OpalMediaOptionValue< T >::m_value.

template<typename T >

T OpalMediaOptionValue< T >::GetValue | ( |  | ) | const

inline

References OpalMediaOptionValue< T >::m_value.

template<typename T >

virtual bool OpalMediaOptionValue< T >::Merge | ( | const OpalMediaOption & | option | ) |

inline virtual

Reimplemented from OpalMediaOption.

References OpalMediaOption::IntersectionMerge, OpalMediaOption::m_merge, and OpalMediaOptionValue< T >::m_value.

template<typename T >

virtual void OpalMediaOptionValue< T >::PrintOn | ( | ostream & | strm | ) | const

inline virtual

References OpalMediaOptionValue< T >::m_value.

template<typename T >

virtual void OpalMediaOptionValue< T >::ReadFrom | ( | istream & | strm | ) |

inline virtual

Reimplemented in OpalMediaOptionNumericalValue< T >.

References OpalMediaOptionValue< T >::m_value.

template<typename T >

void OpalMediaOptionValue< T >::SetValue | ( | T | value | ) |

inline

Reimplemented in OpalMediaOptionNumericalValue< T >.

References OpalMediaOptionValue< T >::m_value.

## Field Documentation

template<typename T >

T 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().

The documentation for this class was generated from the following file:

- mediafmt.h