VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfutil
echelonId.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2002 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
#pragma once
9
10
#include <vlutil/vlString.h>
11
12
#include "
vrfutil/vrfutilDefines.h
"
13
class
DT_DLL_vrfutil
DtEchelonId
14
{
15
public
:
16
DtEchelonId
();
17
virtual
~
DtEchelonId
();
18
19
DtEchelonId
(
const
DtEchelonId
& orig);
20
DtEchelonId
& operator=(
const
DtEchelonId
& orig);
21
22
virtual
bool
operator==
(
const
DtEchelonId
& rhs)
const
;
23
virtual
bool
operator==
(
const
DtString
& rhs)
const
;
24
25
virtual
bool
operator!=
(
const
DtEchelonId
& rhs)
const
;
26
virtual
bool
operator!=
(
const
DtString
& rhs)
const
;
27
28
virtual
void
setDesignator(
int
designator);
29
virtual
int
designator()
const
;
30
31
virtual
void
setCatagory(
const
DtString
& catagory);
32
virtual
const
DtString
& catagory()
const
;
33
34
virtual
void
setLevel(
const
DtString
&
level
);
35
virtual
const
DtString
&
level
()
const
;
36
37
virtual
void
setSuperior(
const
DtEchelonId
& superior);
38
virtual
const
DtEchelonId
& superior()
const
;
39
42
virtual
const
DtString
& string()
const
;
43
46
virtual
bool
setFromString(
const
DtString
& str);
47
49
virtual
bool
isNull()
const
;
50
51
static
const
DtEchelonId
& nullId();
52
53
protected
:
55
virtual
void
generateStringRep()
const
;
56
57
protected
:
58
int
myDesignator
;
59
DtString
myCatagory
;
60
DtString
myLevel
;
61
DtEchelonId
*
mySuperior
;
62
63
mutable
bool
myStringRepDirty
;
64
mutable
DtString
myStringRep
;
65
};
66
67
extern
const
DtEchelonId
theNullEchelonId
;
68
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)