Public API Reference

scfImplementation< Class > Class Template Reference
[Shared Class Facility (SCF)]

Baseclass for the SCF implementation templates. More...

#include <csutil/scf_implementation.h>

Inheritance diagram for scfImplementation< Class >:

List of all members.

Public Member Functions

scfImplementationoperator= (const scfImplementation &)
 Assign to another instance.
 scfImplementation (Class *object, iBase *parent=0)
 scfImplementation (const scfImplementation &)
 Copy constructor.

Detailed Description

template<class Class>
class scfImplementation< Class >

Baseclass for the SCF implementation templates.

Provides common methods such as reference counting and handling of weak references.

Definition at line 198 of file scf_implementation.h.

Constructor & Destructor Documentation

template<class Class>
scfImplementation< Class >::scfImplementation ( Class *  object,
iBase parent = 0 
) [inline]


Initialize the SCF-implementation in class named Class. Will be called from scfImplementation(Ext)N constructor

Definition at line 207 of file scf_implementation.h.

template<class Class>
scfImplementation< Class >::scfImplementation ( const scfImplementation< Class > &   )  [inline]

Copy constructor.

Use of the default copy constructor is nor desired since the information is insufficient to fully initialize scfImplementation; hence, an explicit copy constructor must be created in the derived class that initializes scfImplementation like in the normal constructor, i.e. "scfImplementation (this)".

Definition at line 229 of file scf_implementation.h.

Member Function Documentation

template<class Class>
scfImplementation& scfImplementation< Class >::operator= ( const scfImplementation< Class > &   )  [inline]

Assign to another instance.

When assigning an SCF object to another, anything contained in this class should not be copied, since it's all instance- specific. Hence the assignment operator does nothing.

Definition at line 255 of file scf_implementation.h.

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

Generated for Crystal Space 1.4.1 by doxygen 1.7.1