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

dtool/src/dconfig/notifyCategoryProxy.h File Reference

#include <dtoolbase.h>
#include "notifyCategory.h"
#include "notifySeverity.h"
#include "notify.h"
#include "notifyCategoryProxy.I"

Go to the source code of this file.

Compounds

class  NotifyCategoryProxy
 A handy wrapper around a NotifyCategory pointer. More...


Defines

#define NotifyCategoryDecl(basename, expcl, exptp)
#define NotifyCategoryDeclNoExport(basename)
#define NotifyCategoryDefName(basename, actual_name, parent_category)
#define NotifyCategoryDef(basename, parent_category)   NotifyCategoryDefName(basename, #basename, parent_category);

Functions

template<class GetCategory> ostream & operator<< (ostream &out, NotifyCategoryProxy< GetCategory > &proxy)


Detailed Description

Definition in file notifyCategoryProxy.h.


Define Documentation

#define NotifyCategoryDecl basename,
expcl,
exptp   ) 
 

Value:

class NotifyCategoryGetCategory_ ## basename { \
  public: \
    NotifyCategoryGetCategory_ ## basename(); \
    static NotifyCategory *get_category(); \
  }; \
  extern NotifyCategoryProxy<NotifyCategoryGetCategory_ ## basename> basename ## _cat;

Definition at line 178 of file notifyCategoryProxy.h.

#define NotifyCategoryDeclNoExport basename   ) 
 

Value:

class NotifyCategoryGetCategory_ ## basename { \
  public: \
    NotifyCategoryGetCategory_ ## basename(); \
    static NotifyCategory *get_category(); \
  }; \
  extern NotifyCategoryProxy<NotifyCategoryGetCategory_ ## basename> basename ## _cat;

Definition at line 191 of file notifyCategoryProxy.h.

#define NotifyCategoryDef basename,
parent_category   )     NotifyCategoryDefName(basename, #basename, parent_category);
 

Definition at line 221 of file notifyCategoryProxy.h.

#define NotifyCategoryDefName basename,
actual_name,
parent_category   ) 
 

Value:

NotifyCategoryProxy<NotifyCategoryGetCategory_ ## basename> basename ## _cat; \
  static NotifyCategoryGetCategory_ ## basename force_init_ ## basename ## _cat; \
  NotifyCategoryGetCategory_ ## basename:: \
  NotifyCategoryGetCategory_ ## basename() { \
    basename ## _cat.init(); \
  } \
  NotifyCategory *NotifyCategoryGetCategory_ ## basename:: \
  get_category() { \
    return Notify::ptr()->get_category(string(actual_name), parent_category); \
  }

Definition at line 210 of file notifyCategoryProxy.h.


Function Documentation

template<class GetCategory>
ostream& operator<< ostream &  out,
NotifyCategoryProxy< GetCategory > &  proxy
[inline]
 

Definition at line 153 of file notifyCategoryProxy.h.


Generated on Thu May 1 22:13:09 2003 for DTool by doxygen1.3