VTFLib
A C and C++ API that, with a few simple functions, can open and save .vtf and .vmt files.
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
VMTIntegerNode.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_VMTINTEGERNODE_H
13
#define VTFLIB_VMTINTEGERNODE_H
14
15
#include "
stdafx.h
"
16
#include "VMTValueNode.h"
17
18
namespace
VTFLib
19
{
20
namespace
Nodes
21
{
22
class
VTFLIB_API CVMTIntegerNode :
public
CVMTValueNode
23
{
24
private
:
25
vlInt
iValue;
26
27
public
:
28
CVMTIntegerNode(
const
vlChar
*cName);
29
CVMTIntegerNode(
const
vlChar
*cName,
const
vlChar
*cValue);
30
CVMTIntegerNode(
const
vlChar
*cName,
vlInt
iValue);
31
CVMTIntegerNode(
const
CVMTIntegerNode &IntegerNode);
32
virtual
~CVMTIntegerNode();
33
34
virtual
vlVoid
SetValue(
const
vlChar
*cValue);
35
36
vlVoid
SetValue(
vlInt
iValue);
37
vlInt
GetValue()
const
;
38
39
virtual
VMTNodeType GetType()
const
;
40
virtual
CVMTNode *Clone()
const
;
41
};
42
}
43
}
44
45
#endif
vlChar
char vlChar
Single signed character.
Definition:
stdafx.h:51
stdafx.h
Application framework header plus VTFLib custom data types.
vlVoid
void vlVoid
Void value.
Definition:
stdafx.h:61
vlInt
signed int vlInt
Signed integer value.
Definition:
stdafx.h:55
Generated by
1.8.6