Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SH::ShVariantFactory Struct Reference

Inheritance diagram for SH::ShVariantFactory:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~ShVariantFactory ()
virtual ShVariantgenerate (int N) const =0
 Creates a ShDataVariant object with N components.
virtual ShVariantgenerate (std::string s) const =0
 Creates a ShDataVariant object by using the.
virtual ShVariantgenerate (int N, void *data, bool managed=true) const =0
 Creates an ShDataVariant object with the existing array as data.
virtual ShVariantgenerateZero (int N=1) const =0
 Creates an ShDataVariant object with N elements set to zero.
virtual ShVariantgenerateOne (int N=1) const =0
 Creates an ShDataVariant object with N elements set to one.

Detailed Description

Definition at line 32 of file ShVariantFactory.hpp.


Member Function Documentation

virtual ShVariant* SH::ShVariantFactory::generate int  N,
void *  data,
bool  managed = true
const [pure virtual]
 

Creates an ShDataVariant object with the existing array as data.

Parameters:
managed Set to true iff this should make a copy

Implemented in SH::ShDataVariantFactory< T, DT >.


The documentation for this struct was generated from the following file:
Generated on Thu Jul 28 17:37:14 2005 for Sh by  doxygen 1.4.3-20050530