#include <mediacmd.h>
Public Member Functions | |
Overrides from PObject | |
void | PrintOn (ostream &strm) const |
virtual Comparison | Compare (const PObject &obj) const |
Operations | |
virtual PString | GetName () const=0 |
void OpalMediaCommand::PrintOn | ( | ostream & | strm | ) | const [inline] |
Standard stream print function. The PObject class has a << operator defined that calls this function polymorphically.
strm | Stream to output text representation |
virtual Comparison OpalMediaCommand::Compare | ( | const PObject & | obj | ) | const [inline, virtual] |
Compare the two objects and return their relative rank. This function is usually overridden by descendent classes to yield the ranking according to the semantics of the object.
The default function is to use the CompareObjectMemoryDirect()# function to do a byte wise memory comparison of the two objects.
obj | Object to compare against. |
virtual PString OpalMediaCommand::GetName | ( | ) | const [pure virtual] |
Get the name of the command.