CMS 3D CMS Logo

Public Types | Public Member Functions | Public Attributes | Static Public Attributes

Sym Struct Reference

#include <Sym.h>

List of all members.

Public Types

typedef void * address_type

Public Member Functions

bool operator< (address_type b) const
bool operator< (const Sym &b) const
 Sym ()
 Sym (int id)
 Sym (Dl_info const &, void *addr)

Public Attributes

address_type addr_
int id_
std::string library_
std::string name_

Static Public Attributes

static int next_id_ = 1000000

Detailed Description

Definition at line 9 of file Sym.h.


Member Typedef Documentation

typedef void* Sym::address_type

Definition at line 10 of file Sym.h.


Constructor & Destructor Documentation

Sym::Sym ( Dl_info const &  ,
void *  addr 
) [inline]

Definition at line 12 of file Sym.h.

                                    :
    name_(),
    library_(),
    id_(),
    addr_(reinterpret_cast<address_type>(addr)) {
  }
Sym::Sym ( ) [inline]

Definition at line 19 of file Sym.h.

        :
    name_(),
    library_(),
    id_(),
    addr_()
  {  }
Sym::Sym ( int  id) [inline, explicit]

Definition at line 26 of file Sym.h.

                       :
    name_(),
    library_(),
    id_(id),
    addr_()
  { }

Member Function Documentation

bool Sym::operator< ( address_type  b) const [inline]

Definition at line 41 of file Sym.h.

References addr_, and b.

  { return addr_ < b; }
bool Sym::operator< ( const Sym b) const [inline]

Definition at line 45 of file Sym.h.

References addr_.

  { return addr_ < b.addr_; }

Member Data Documentation

Definition at line 36 of file Sym.h.

Referenced by operator<(), operator<(), operator<<(), and writeProfileData().

int Sym::id_

Definition at line 35 of file Sym.h.

Referenced by operator<<(), and writeProfileData().

std::string Sym::library_

Definition at line 34 of file Sym.h.

Referenced by writeProfileData().

std::string Sym::name_

Definition at line 33 of file Sym.h.

Referenced by operator<<(), and writeProfileData().

int Sym::next_id_ = 1000000 [static]

Definition at line 38 of file Sym.h.

Referenced by writeProfileData().