#include <dim.h>
Inheritance diagram for RefSCDimension


Public Methods | |
| RefSCDimension () | |
| Initializes the dimension pointer to 0. More... | |
| RefSCDimension (const RefSCDimension &d) | |
| Make this and d refer to the same SCDimension. | |
| RefSCDimension (SCDimension *d) | |
| Make this refer to d. | |
| ~RefSCDimension () | |
| RefSCDimension& | operator= (SCDimension *d) |
| Make this refer to d. | |
| RefSCDimension& | operator<< (RefCount *) |
| Assigns to the given base class pointer using dynamic_cast. More... | |
| RefSCDimension& | operator<< (const RefBase &) |
| Assignment to the object that a references using dynamic_cast. | |
| RefSCDimension& | operator= (const RefSCDimension &d) |
| Make this and d refer to the same SCDimension. | |
| operator int () const | |
| Return the dimension. | |
| int | n () const |
| void | print (std::ostream &o=ExEnv::out()) const |
|
|
Initializes the dimension pointer to 0. The reference must be initialized before it is used. |
|
|
Assigns to the given base class pointer using dynamic_cast. If the dynamic_cast fails and the argument is nonnull and has a reference count of zero, then it is deleted. Reimplemented from Ref. |