SST/macro
Public Types | Public Member Functions | Protected Attributes | List of all members
sstmac::tutorial::illustration Class Reference

Basic class structure tutorial. More...

#include <illustration.h>

Inheritance diagram for sstmac::tutorial::illustration:
Inheritance graph
Collaboration diagram for sstmac::tutorial::illustration:
Collaboration graph

Public Types

typedef sprockit::refcount_ptr< illustrationptr
 Public typedefs. More...
 
typedef sprockit::refcount_ptr< const illustrationconst_ptr
 

Public Member Functions

std::string to_string () const
 Public functions and constructors. More...
 
 illustration (const std::string &msg)
 
void illustrate ()
 
std::string message () const
 
void set_message (const std::string &msg)
 
- Public Member Functions inherited from sprockit::ptr_type
 ptr_type ()
 
int nreferences () const
 
virtual ~ptr_type ()
 

Protected Attributes

std::string message_
 Member variables. More...
 

Additional Inherited Members

- Protected Member Functions inherited from sprockit::ptr_type
void incref ()
 
int decref ()
 

Detailed Description

Basic class structure tutorial.

Definition at line 13 of file illustration.h.

Member Typedef Documentation

Definition at line 19 of file illustration.h.

Public typedefs.

Definition at line 18 of file illustration.h.

Constructor & Destructor Documentation

sstmac::tutorial::illustration::illustration ( const std::string &  msg)
inline

Definition at line 29 of file illustration.h.

Member Function Documentation

void sstmac::tutorial::illustration::illustrate ( )
inline

Definition at line 34 of file illustration.h.

References message_.

std::string sstmac::tutorial::illustration::message ( ) const
inline

Definition at line 39 of file illustration.h.

References message_.

void sstmac::tutorial::illustration::set_message ( const std::string &  msg)
inline

Definition at line 44 of file illustration.h.

References message_.

std::string sstmac::tutorial::illustration::to_string ( ) const
inline

Public functions and constructors.

Definition at line 25 of file illustration.h.

Member Data Documentation

std::string sstmac::tutorial::illustration::message_
protected

Member variables.

Definition at line 50 of file illustration.h.

Referenced by illustrate(), message(), and set_message().


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