Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

NotifyCategory Class Reference

#include <notifyCategory.h>

List of all members.

Private Types

typedef vector< NotifyCategory * > Children

Private Member Functions

 NotifyCategory (const string &fullname, const string &basename, NotifyCategory *parent)
INLINE string get_basename () const
INLINE NotifySeverity get_severity () const
INLINE void set_severity (NotifySeverity severity)
INLINE bool is_on (NotifySeverity severity) const
INLINE bool is_info () const
INLINE bool is_warning () const
INLINE bool is_error () const
INLINE bool is_fatal () const
ostreamout (NotifySeverity severity, bool prefix=true) const
INLINE ostreamspam (bool prefix=true) const
INLINE ostreamdebug (bool prefix=true) const
INLINE ostreaminfo (bool prefix=true) const
INLINE ostreamwarning (bool prefix=true) const
INLINE ostreamerror (bool prefix=true) const
INLINE ostreamfatal (bool prefix=true) const
int get_num_children () const
NotifyCategory * get_child (int i) const

Static Private Member Functions

INLINE bool is_spam ()
INLINE bool is_debug ()
void set_server_delta (time_t delta)

Private Attributes

PUBLISHED __pad0__: INLINE string get_fullname() const
string _fullname
string _basename
NotifyCategory * _parent
NotifySeverity _severity
Children _children

Static Private Attributes

time_t _server_delta = 0

Friends

class Notify


Member Typedef Documentation

typedef vector<NotifyCategory *> NotifyCategory::Children [private]
 

Definition at line 86 of file notifyCategory.h.


Constructor & Destructor Documentation

NotifyCategory::NotifyCategory const string &  fullname,
const string &  basename,
NotifyCategory *  parent
[private]
 

Definition at line 34 of file notifyCategory.cxx.

References _basename, _children, _fullname, _parent, _severity, nassertv, nout, NS_info, NS_unspecified, NULL, and Notify::string_severity().


Member Function Documentation

INLINE ostream& NotifyCategory::debug bool  prefix = true  )  const [private]
 

INLINE ostream& NotifyCategory::error bool  prefix = true  )  const [private]
 

INLINE ostream& NotifyCategory::fatal bool  prefix = true  )  const [private]
 

INLINE string NotifyCategory::get_basename  )  const [private]
 

NotifyCategory * NotifyCategory::get_child int  i  )  const [private]
 

Definition at line 145 of file notifyCategory.cxx.

References _children, and assert.

int NotifyCategory::get_num_children  )  const [private]
 

Definition at line 134 of file notifyCategory.cxx.

References _children.

INLINE NotifySeverity NotifyCategory::get_severity  )  const [private]
 

INLINE ostream& NotifyCategory::info bool  prefix = true  )  const [private]
 

INLINE bool NotifyCategory::is_debug  )  [static, private]
 

INLINE bool NotifyCategory::is_error  )  const [private]
 

INLINE bool NotifyCategory::is_fatal  )  const [private]
 

INLINE bool NotifyCategory::is_info  )  const [private]
 

INLINE bool NotifyCategory::is_on NotifySeverity  severity  )  const [private]
 

Referenced by out().

INLINE bool NotifyCategory::is_spam  )  [static, private]
 

INLINE bool NotifyCategory::is_warning  )  const [private]
 

ostream & NotifyCategory::out NotifySeverity  severity,
bool  prefix = true
const [private]
 

Definition at line 101 of file notifyCategory.cxx.

References _server_delta, buffer, get_notify_timestamp(), is_on(), nout, NS_info, Notify::null(), NULL, and time_t.

void NotifyCategory::set_server_delta time_t  delta  )  [static, private]
 

Definition at line 159 of file notifyCategory.cxx.

References _server_delta.

INLINE void NotifyCategory::set_severity NotifySeverity  severity  )  [private]
 

INLINE ostream& NotifyCategory::spam bool  prefix = true  )  const [private]
 

INLINE ostream& NotifyCategory::warning bool  prefix = true  )  const [private]
 


Friends And Related Function Documentation

friend class Notify [friend]
 

Definition at line 91 of file notifyCategory.h.


Member Data Documentation

PUBLISHED NotifyCategory::__pad0__ [private]
 

Definition at line 43 of file notifyCategory.h.

string NotifyCategory::_basename [private]
 

Definition at line 83 of file notifyCategory.h.

Referenced by NotifyCategory().

Children NotifyCategory::_children [private]
 

Definition at line 87 of file notifyCategory.h.

Referenced by get_child(), get_num_children(), and NotifyCategory().

string NotifyCategory::_fullname [private]
 

Definition at line 82 of file notifyCategory.h.

Referenced by NotifyCategory().

NotifyCategory* NotifyCategory::_parent [private]
 

Definition at line 84 of file notifyCategory.h.

Referenced by NotifyCategory().

time_t NotifyCategory::_server_delta = 0 [static, private]
 

Definition at line 26 of file notifyCategory.cxx.

Referenced by out(), and set_server_delta().

NotifySeverity NotifyCategory::_severity [private]
 

Definition at line 85 of file notifyCategory.h.

Referenced by NotifyCategory().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 01:35:03 2003 for DTool by doxygen1.3