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 &info, 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 11 of file Sym.h.


Constructor & Destructor Documentation

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

Definition at line 13 of file Sym.h.

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

Definition at line 24 of file Sym.h.

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

Definition at line 31 of file Sym.h.

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

Member Function Documentation

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

Definition at line 46 of file Sym.h.

References addr_, and b.

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

Definition at line 50 of file Sym.h.

References addr_.

  { return addr_ < b.addr_; }

Member Data Documentation

Definition at line 41 of file Sym.h.

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

int Sym::id_

Definition at line 40 of file Sym.h.

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

std::string Sym::library_

Definition at line 39 of file Sym.h.

Referenced by writeProfileData().

std::string Sym::name_

Definition at line 38 of file Sym.h.

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

int Sym::next_id_ = 1000000 [static]

Definition at line 43 of file Sym.h.

Referenced by writeProfileData().