home | help
sc::RefSCDimension(3)	    Library Functions Manual	   sc::RefSCDimension(3)

NAME
     sc::RefSCDimension  -  The  RefSCDimension  class	is a smart pointer to an
     SCDimension specialization.

SYNOPSIS
     #include <dim.h>

     Inherits sc::Ref< SCDimension >.

   Public Member Functions
     RefSCDimension ()
	 Initializes the dimension pointer to 0.
     RefSCDimension (const RefSCDimension &d)
	 Make this and d refer to the same SCDimension.
     RefSCDimension (SCDimension *d)
	 Make this refer to d.
     RefSCDimension & operator= (SCDimension *d)
	 Make this refer to d.
     RefSCDimension & operator<< (RefCount *)
     RefSCDimension & operator<< (const RefBase &)
     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::out0()) const

     Public Member Functions inherited from sc::Ref< SCDimension >
     Ref ()
	 Create a reference to a null object.
     ~Ref ()
	 Delete this reference to the object.
     SCDimension * operator-> () const
	 Returns the reference counted object.
     SCDimension * pointer () const
	 Returns a pointer the reference counted object.
     RefCount * parentpointer () const
	 Implements the parentpointer pure virtual in the base class.
     operator SCDimension * () const
     SCDimension & operator* () const
	 Returns a C++ reference to the reference counted object.
     int null () const
	 Return 1 if this is a reference to a null object.
     int nonnull () const
	 Return !null().
     int operator== (const Ref< A > &a) const
	 A variety of ordering and equivalence operators are provided using  the
	 Identity class.
     int operator>= (const Ref< A > &a) const
     int operator<= (const Ref< A > &a) const
     int operator> (const Ref< A > &a) const
     int operator< (const Ref< A > &a) const
     int operator!= (const Ref< A > &a) const
     int compare (const Ref< SCDimension > &a) const
	 Compare two objects returning -1, 0, or 1.
     void clear ()
	 Refer to the null object.
     Ref< SCDimension > & operator= (const Ref< SCDimension > &c)
	 Assignment to c.
     Ref< SCDimension > & operator<< (const RefBase &a)
	 Assignment to the object that a references using dynamic_cast.
     void assign_pointer (SCDimension *cr)
	 Assignment to cr.
     void check_pointer () const
	 Check the validity of the pointer.
     void ref_info (std::ostream &os) const
	 Print information about the reference to os.
     void warn (const char *s) const
	 Print a warning concerning the reference.

     Public Member Functions inherited from sc::RefBase
     void require_nonnull () const
	 Requires that a nonnull reference is held.

   Additional Inherited Members
     Protected Member Functions inherited from sc::RefBase
     void warn (const char *msg) const
	 Print a warning message.
     void warn_ref_to_stack () const
	 Called when stack data is referenced.
     void warn_skip_stack_delete () const
	 Called when the deletion of stack data is skipped.
     void warn_bad_ref_count () const
	 Called when the reference count is corrupted.
     void ref_info (RefCount *p, std::ostream &os) const
	 Print information about the reference.
     void ref_info (std::ostream &os) const
     void check_pointer () const
     void reference (RefCount *)
     int dereference (RefCount *)

Detailed Description
     The  RefSCDimension  class is a smart pointer to an SCDimension specializa-
     tion.

Constructor & Destructor Documentation
   sc::RefSCDimension::RefSCDimension ()
     Initializes the dimension pointer to 0. The reference must  be  initialized
     before it is used.

     Referenced  by  operator=(), operator=(), RefSCDimension(), and RefSCDimen-
     sion().

   sc::RefSCDimension::RefSCDimension (const RefSCDimension & d)
     Make this and d refer to the same SCDimension.

     References RefSCDimension().

   sc::RefSCDimension::RefSCDimension (SCDimension * d)
     Make this refer to d.

     References RefSCDimension().

Member Function Documentation
   sc::RefSCDimension::operator int () const
     Return the dimension.

     References sc::ExEnv::out0().

   RefSCDimension & sc::RefSCDimension::operator= (const RefSCDimension & d)
     Make this and d refer to the same SCDimension.

     References RefSCDimension().

   RefSCDimension & sc::RefSCDimension::operator= (SCDimension * d)
     Make this refer to d.

     References RefSCDimension().

Author
     Generated automatically by Doxygen for MPQC from the source code.

MPQC				  Version 2.3.1 	   sc::RefSCDimension(3)

home | help