VR-Forces 4.1.1 Class Documentation
extMtlParamDb.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: extMtlParamDb.h,v $ $Revision: 1.2 $ $State: Exp $
7 *******************************************************************************/
8 
9 #ifndef DtExtMtlParameterDb_H_
10 #define DtExtMtlParameterDb_H_
11 
12 #include "vrfobjparam/mtlParamDb.h"
13 
14 //class DtExtMtlParameterDb:
15 //
16 //Instances of DtExtMtlParameterDb extend the DtMtlParameterDb class to
17 //create derived kinds of DtMtlParamDbReader and DtMtlParamDbWriter classes
18 //that know how to preserve comments when loading and saving parameter
19 //database files.
20 
22 {
23 public:
24 
25  //default constructor
27 
28  //destructor
29  virtual ~DtExtMtlParameterDb();
30 
31  //Saves contents of parameter database to file. Filename will be
32  //given .opd file extension if it does not already exist. Creates
33  //subdirectory of the same name minus the .opd extension and places
34  //individual object parameter entry files (.ope) for each entry in the
35  //database. Object parameter database file will contain list of filenames
36  //referencing individual .ope files.
37  //Override to register callback to look up and write out any associated
38  //comments before calling putself.
39  virtual bool save(const DtFilename& filename);
40 
41 protected:
42 
43  //Override to create a DtExtMtlParameterDbEntry.
45 
46  //Override to create an instance of DtExtMtlParameterDbReader.
48 
49  //Override to create an instance of DtExtMtlParameterDbWriter.
51 
52  //copy constructor - not implemented
54 
55  //assignment operator - not implemented
57 };
58 
59 #endif

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)