VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
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 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
)