code::GeneralBuilder Class Reference

Inheritance diagram for code::GeneralBuilder:

code::Builder List of all members.

Detailed Description

Builds a DataType for display.

Author:
Lulin Song
Version:
Id
code_GeneralBuilder.h,v 1.4 2009/06/02 20:17:39 lakshman Exp


Public Types

 BUILDER
 FORMATTER_TYPE
 DATA_TIME
 DATA_TYPE1
 DATA_TYPE2
enum  BuilderParams {
  BUILDER, FORMATTER_TYPE, DATA_TIME, DATA_TYPE1,
  DATA_TYPE2
}
 Parameters required by createObject(). More...

Public Member Functions

virtual SmartPtr< DataTypecreateObject (const std::vector< std::string > &parms, const Index *)
 Create a data object.
virtual ~GeneralBuilder ()
SmartPtr< DataTypecreateObject (const Index *index)
 Convenience function that passes empty vector to createObject.

Static Public Member Functions

static void introduceSelf ()
static SmartPtr< BuildergetBuilder (const std::string &sourceType)
 Convenience function to get the builder for a sourceType, eg.


Member Enumeration Documentation

enum code::GeneralBuilder::BuilderParams

Parameters required by createObject().

Enumerator:
BUILDER 
FORMATTER_TYPE 
DATA_TIME 
DATA_TYPE1 
DATA_TYPE2 


Constructor & Destructor Documentation

virtual code::GeneralBuilder::~GeneralBuilder (  )  [inline, virtual]


Member Function Documentation

SmartPtr<DataType> code::Builder::createObject ( const Index index  )  [inherited]

Convenience function that passes empty vector to createObject.

virtual SmartPtr<DataType> code::GeneralBuilder::createObject ( const std::vector< std::string > &  parms,
const Index  
) [virtual]

Create a data object.

You must pass in the arguments specified in BuilderParams above:

  1. formatter type (such as StormRelVel) (
    See also:
    Formatter)
  2. data time (in Epoch seconds)
  3. data type (such as Velocity)
  4. data type 2

Parameters:
index The Index from which the record was created. The TableHistory formatters will use this to obtain all the records in a particular time interval.

Implements code::Builder.

static SmartPtr< Builder > code::Builder::getBuilder ( const std::string &  sourceType  )  [static, inherited]

Convenience function to get the builder for a sourceType, eg.

hires.

Parameters:
sourceType The sourceType name, such as "AWIPS" or "hires"

static void code::GeneralBuilder::introduceSelf (  )  [static]


Generated on Fri May 4 13:40:12 2012 for WDSS-IIw2 by  doxygen 1.4.7