VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
specificationStringAttribute.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: specStrAttrib.h,v $ $Revision: 1.7 $ $State: Exp $
7 *******************************************************************************/
8 
9 #ifndef specificationStringAttribute_H_
10 #define specificationStringAttribute_H_
11 
12 #include "gdb/gdbDefines.h"
13 #include <stdio.h>
14 #include <vlutil/vlNetTypes.h>
15 #include <vlutil/vlString.h>
17 
18 // class DtSpecificationStringAttribute:
19 //
20 // DtSpecificationStringAttribute holds a string attribute.
21 
23 {
24 public:
25 
26  // default constructor
28 
29  // destructor
31 
32  // copy constructor
34 
35  // assignment operator
37 
38  // Comparison operators
39  // ==, <, and > return false if the labels or types don't match
40  virtual bool operator==(const DtSpecificationAttribute& other) const;
41  virtual bool operator<(const DtSpecificationAttribute& other) const;
42  virtual bool operator>(const DtSpecificationAttribute& other) const;
43 
44  // get/set string
45  virtual const DtString& value() const;
46  virtual void setValue(const DtString& val);
47 
48  // input from file
49  virtual bool readFrom(FILE* fp);
50 
51  // write to a file
52  virtual bool writeTo(FILE* fp);
53 
54  // get specification
55  virtual unsigned int type() const;
56 
57  // virtual constructor
58  virtual DtSpecificationAttribute* clone() const;
59 
60 protected:
61 
63 
64 };
65 
66 #endif

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)