NAME

OTC_TagInfo - Maintain name and state of a named trace switch.

SYNOPSIS


#include <OTC/debug/taginfo.hh>

class OTC_TagInfo
{
  public:
    friend class OTC_TraceInfoDummy;
    inline OTC_TagInfo(
      char const* theName,
      int theLevel,
      OTC_TagInfo* theTagInfo=0
    );
    inline char const* name() const;
    inline int level() const;
    inline void setLevel(int theLevel);
    inline OTC_TagInfo* next() const;
};

CLASS TYPE

Concrete

DESCRIPTION

OTC_TagInfo is used to store the name and trace level for instances of the OTC_TraceTag class. Instances of the class are never destroyed.

CONSTRUCTION

inline OTC_TagInfo(
  char const* theName,
  int theLevel,
  OTC_TagInfo* theTagInfo=0
);

QUERY/CHANGE

inline char const* name() const;
inline int level() const;
inline void setLevel(int theLevel);

ITERATION

inline OTC_TagInfo* next() const;

SEE ALSO

OTC_TraceTag

LIBRARY

OTC

AUTHOR(S)

Graham Dumpleton

COPYRIGHT

Copyright 1993 TELSTRA CORPORATION LIMITED