VTFLib
A C and C++ API that, with a few simple functions, can open and save .vtf and .vmt files.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
VMTStringNode.h
1 /*
2  * VTFLib
3  * Copyright (C) 2005-2010 Neil Jedrzejewski & Ryan Gregg
4 
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later
9  * version.
10  */
11 
12 #ifndef VTFLIB_VMTSTRINGNODE_H
13 #define VTFLIB_VMTSTRINGNODE_H
14 
15 #include "stdafx.h"
16 #include "VMTValueNode.h"
17 
18 namespace VTFLib
19 {
20  namespace Nodes
21  {
22  class VTFLIB_API CVMTStringNode : public CVMTValueNode
23  {
24  private:
25  vlChar *cValue;
26 
27  public:
28  CVMTStringNode(const vlChar *cName);
29  CVMTStringNode(const vlChar *cName, const vlChar *cValue);
30  CVMTStringNode(const CVMTStringNode &StringNode);
31  virtual ~CVMTStringNode();
32 
33  virtual vlVoid SetValue(const vlChar *cValue);
34 
35  const vlChar *GetValue() const;
36 
37  virtual VMTNodeType GetType() const;
38  virtual CVMTNode *Clone() const;
39  };
40  }
41 }
42 
43 #endif
char vlChar
Single signed character.
Definition: stdafx.h:51
Application framework header plus VTFLib custom data types.
void vlVoid
Void value.
Definition: stdafx.h:61