TcaEndpointID Class Reference

#include <TcaEndpointID.h>

List of all members.

Public Member Functions

 TcaEndpointID ()
 TcaEndpointID (const dtn_endpoint_id_t &eid)
 TcaEndpointID (const std::string &str)
 TcaEndpointID (const std::string &host, const std::string &app)
 TcaEndpointID (const TcaEndpointID &eid)
const std::string & host () const
const std::string & app () const
const std::string str () const
const char * c_str () const
void set_host (const std::string &host)
void set_app (const std::string &app)
const std::string get_hostid () const

Static Public Member Functions

static std::string build (const std::string &host, const std::string &app)

Protected Member Functions

void parse (const std::string &str)

Protected Attributes

bool valid_
std::string host_
std::string app_


Detailed Description

Definition at line 32 of file apps/tca_admin/TcaEndpointID.h.


Constructor & Destructor Documentation

TcaEndpointID::TcaEndpointID (  )  [inline]

Definition at line 35 of file apps/tca_admin/TcaEndpointID.h.

TcaEndpointID::TcaEndpointID ( const dtn_endpoint_id_t eid  ) 

Definition at line 28 of file apps/tca_admin/TcaEndpointID.cc.

References parse(), and dtn_endpoint_id_t::uri.

TcaEndpointID::TcaEndpointID ( const std::string &  str  ) 

Definition at line 35 of file apps/tca_admin/TcaEndpointID.cc.

References parse().

TcaEndpointID::TcaEndpointID ( const std::string &  host,
const std::string &  app 
)

Definition at line 42 of file apps/tca_admin/TcaEndpointID.cc.

TcaEndpointID::TcaEndpointID ( const TcaEndpointID eid  ) 

Definition at line 49 of file apps/tca_admin/TcaEndpointID.cc.


Member Function Documentation

const std::string& TcaEndpointID::app (  )  const [inline]

Definition at line 42 of file apps/tca_admin/TcaEndpointID.h.

References app_.

static std::string TcaEndpointID::build ( const std::string &  host,
const std::string &  app 
) [inline, static]

Definition at line 54 of file apps/tca_admin/TcaEndpointID.h.

const char* TcaEndpointID::c_str (  )  const [inline]

Definition at line 45 of file apps/tca_admin/TcaEndpointID.h.

References str().

Referenced by TcaController::gate_reg(), and TcaController::handle_unb().

const std::string TcaEndpointID::get_hostid (  )  const [inline]

const std::string& TcaEndpointID::host (  )  const [inline]

Definition at line 41 of file apps/tca_admin/TcaEndpointID.h.

References host_.

void TcaEndpointID::parse ( const std::string &  str  )  [protected]

Definition at line 57 of file apps/tca_admin/TcaEndpointID.cc.

References app_, host_, and valid_.

Referenced by TcaEndpointID().

void TcaEndpointID::set_app ( const std::string &  app  ) 

void TcaEndpointID::set_host ( const std::string &  host  ) 

Definition at line 88 of file apps/tca_admin/TcaEndpointID.cc.

References host_.

const std::string TcaEndpointID::str (  )  const [inline]


Member Data Documentation

std::string TcaEndpointID::app_ [protected]

Definition at line 62 of file apps/tca_admin/TcaEndpointID.h.

Referenced by app(), parse(), set_app(), and str().

std::string TcaEndpointID::host_ [protected]

Definition at line 61 of file apps/tca_admin/TcaEndpointID.h.

Referenced by get_hostid(), host(), parse(), set_host(), and str().

Definition at line 60 of file apps/tca_admin/TcaEndpointID.h.

Referenced by parse().


The documentation for this class was generated from the following files:

Generated on Fri Jan 30 09:27:01 2009 for DTN Reference Implementation by  doxygen 1.5.8