VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
makArchives
DtVisualizerDefinitionRecordNew.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2011 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
7
8
#pragma once
9
10
#include <
makArchives/makArchives.h
>
11
#include <
makArchives/DtSerialize.h
>
12
#include <
makArchives/DtXmlFileIo.h
>
13
#include <
makArchives/UnicodeStringRecord.h
>
14
#include <
makArchives/DtVisualizerDefinitionAttributeRecord.h
>
15
16
namespace
makArchives
17
{
18
22
class
DT_DLL_MAKARCHIVES
DtVisualizerDefinitionRecord
23
{
24
public
:
26
DtVisualizerDefinitionRecord
();
27
29
typedef
std::vector<DtVisualizerDefinitionAttributeRecord>
Attributes
;
30
32
const
Attributes
& attributes();
33
35
const
Attributes
& attributes()
const
;
36
38
void
setAttributes(
const
Attributes
& attributes);
39
43
const
std::string& name()
const
;
44
47
void
setName(
const
std::string& name);
48
49
protected
:
50
friend
class
boost::serialization::access;
51
52
template
<
class
Archive>
53
void
serialize(Archive & ar,
const
unsigned
int
version)
54
{
55
ar & BOOST_SERIALIZATION_NVP(myName);
56
ar & BOOST_SERIALIZATION_NVP(myAttributes);
57
}
58
59
Utf8String
myName
;
60
Attributes
myAttributes
;
61
};
62
}
63
BOOST_CLASS_VERSION
(
makArchives::DtVisualizerDefinitionRecord
, 1)
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)