Yate
Public Member Functions | Protected Attributes | List of all members
ClientFile Class Reference

A file. More...

#include <yatecbase.h>

Inheritance diagram for ClientFile:
ClientFileItem GenObject

Public Member Functions

 ClientFile (const char *name, const NamedList *params=0)
 
 ClientFile (const ClientFile &other)
 
NamedListparams ()
 
const NamedListparams () const
 
virtual ClientFilefile ()
 
- Public Member Functions inherited from ClientFileItem
 ClientFileItem (const char *name)
 
const Stringname () const
 
virtual ClientDirdirectory ()
 
virtual const StringtoString () const
 
- Public Member Functions inherited from GenObject
 GenObject ()
 
virtual ~GenObject ()
 
virtual bool alive () const
 
virtual void destruct ()
 
virtual void * getObject (const String &name) const
 
NamedCountergetObjCounter () const
 
NamedCountersetObjCounter (NamedCounter *counter)
 

Protected Attributes

NamedList m_params
 

Additional Inherited Members

- Static Public Member Functions inherited from GenObject
static void * getObject (const String &name, const GenObject *obj)
 
static bool getObjCounting ()
 
static void setObjCounting (bool enable)
 
static NamedCountergetObjCounter (const String &name, bool create=true)
 
static ObjListgetObjCounters ()
 

Detailed Description

A file.

This class holds file info

Constructor & Destructor Documentation

ClientFile ( const char *  name,
const NamedList params = 0 
)
inline

Constructor

Parameters
nameFile name
paramsOptional file parameters

References NamedList::copyParams().

ClientFile ( const ClientFile other)
inline

Copy constructor

Parameters
otherSource object

Member Function Documentation

virtual ClientFile* file ( )
inlinevirtual

Check if this item is a file

Returns
ClientFile pointer

Reimplemented from ClientFileItem.

NamedList& params ( )
inline

Retrieve item parameters

Returns
Item parameters
const NamedList& params ( ) const
inline

Retrieve item parameters

Returns
Item parameters

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