SST/macro
|
#include <diamond.h>
Public Types | |
typedef sprockit::refcount_ptr< diamond > | ptr |
Public typedefs. More... | |
typedef sprockit::refcount_ptr< const diamond > | const_ptr |
Public Types inherited from sstmac::tutorial::gem | |
typedef sprockit::refcount_ptr< gem > | ptr |
Public typedefs. More... | |
typedef sprockit::refcount_ptr< const gem > | const_ptr |
Public Types inherited from sstmac::tutorial::mineral | |
typedef sprockit::refcount_ptr< mineral > | ptr |
Public typedefs. More... | |
typedef sprockit::refcount_ptr< const mineral > | const_ptr |
Public Member Functions | |
diamond (num_carats) | |
Public functions and constructors. More... | |
std::string | to_string () const |
Fill out ptr_type virtual interface. More... | |
int | value () const |
Public functions and constructors. More... | |
std::string | structure () const |
Public functions and constructors. More... | |
Public Member Functions inherited from sstmac::tutorial::gem | |
virtual | ~gem () |
Public Member Functions inherited from sprockit::ptr_type | |
ptr_type () | |
int | nreferences () const |
virtual | ~ptr_type () |
Public Member Functions inherited from sstmac::tutorial::mineral | |
virtual | ~mineral () |
Protected Attributes | |
int | num_carats_ |
Member variables. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from sprockit::ptr_type | |
void | incref () |
int | decref () |
typedef sprockit::refcount_ptr<const diamond> sstmac::tutorial::diamond::const_ptr |
|
inline |
|
inlinevirtual |
Public functions and constructors.
Implements sstmac::tutorial::mineral.
|
inline |
|
inlinevirtual |
Public functions and constructors.
Implements sstmac::tutorial::gem.
Definition at line 29 of file diamond.h.
References num_carats_.
|
protected |