VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvUtil
DtFaccCode.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: $ $Revision: $ $State: $
7
******************************************************************************/
8
12
13
#pragma once
14
#include <
vrvUtil/vrvUtil.h
>
15
#include <string>
16
#include <stdlib.h>
17
18
namespace
makVrv
19
{
22
class
DtFaccCode
23
{
24
public
:
25
26
static
const
char
InvalidCategory
=
' '
;
27
static
const
short
InvalidType
= -1;
28
32
inline
DtFaccCode
(
char
cat =
InvalidCategory
,
char
subcat =
InvalidCategory
,
33
short
type =
InvalidType
);
34
36
inline
static
DtFaccCode
fromString
(
const
std::string& str);
37
39
inline
std::string
toString
()
const
;
40
42
inline
bool
operator==
(
const
DtFaccCode
& other)
const
;
43
45
inline
bool
operator!=
(
const
DtFaccCode
& other)
const
;
46
48
inline
bool
sameCategory
(
const
DtFaccCode
& other)
const
;
49
51
inline
bool
sameSubcategory
(
const
DtFaccCode
& other)
const
;
52
54
inline
bool
isAbstract
()
const
;
55
57
inline
bool
operator<
(
const
DtFaccCode
& other)
const
;
58
60
char
myCategory
;
61
char
mySubcategory
;
62
short
myType
;
63
};
64
65
}
66
67
#define DtFaccCode_INL_
68
#include <vrvUtil/DtFaccCode.inl>
69
#undef DtFaccCode_INL_
70
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)