torc-master
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
EdifVersion.hpp
Go to the documentation of this file.
1
// Torc - Copyright 2011-2013 University of Southern California. All Rights Reserved.
2
// $HeadURL$
3
// $Id$
4
5
// This program is free software: you can redistribute it and/or modify it under the terms of the
6
// GNU General Public License as published by the Free Software Foundation, either version 3 of the
7
// License, or (at your option) any later version.
8
//
9
// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
10
// without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
11
// the GNU General Public License for more details.
12
//
13
// You should have received a copy of the GNU General Public License along with this program. If
14
// not, see <http://www.gnu.org/licenses/>.
15
16
#ifndef TORC_GENERIC_EDIFVERSION_HPP
17
#define TORC_GENERIC_EDIFVERSION_HPP
18
19
//BOOST
20
#include<boost/cstdint.hpp>
21
22
#ifdef GENOM_SERIALIZATION
23
#include <boost/serialization/access.hpp>
24
#endif //GENOM_SERIALIZATION
25
26
namespace
torc {
27
namespace
generic {
28
29
/**
30
* Version of EDIF being parsed. This release supports only EDIF 2 0 0.
31
*/
32
struct
EdifVersion
{
33
34
#ifdef GENOM_SERIALIZATION
35
friend
class
boost::serialization::access;
36
#endif //GENOM_SERIALIZATION
37
public
:
38
EdifVersion
();
39
40
~EdifVersion
()
throw
();
41
42
EdifVersion
(
const
EdifVersion
& source);
43
44
EdifVersion
&
operator=
(
const
EdifVersion
& source);
45
46
public
:
47
uint8_t
mFirst
;
48
uint8_t
mSecond
;
49
uint8_t
mThird
;
50
51
private
:
52
#ifdef GENOM_SERIALIZATION
53
template
<
class
Archive>
void
serialize(Archive& ar,
unsigned
int
);
54
#endif //GENOM_SERIALIZATION
55
};
56
57
}
// namespace generic
58
}
// namespace torc
59
60
#endif // TORC_GENERIC_EDIFVERSION_HPP
torc::generic::EdifVersion::mSecond
uint8_t mSecond
Definition:
EdifVersion.hpp:48
torc::generic::EdifVersion::~EdifVersion
~EdifVersion()
Definition:
EdifVersion.cpp:32
torc::generic::EdifVersion::mThird
uint8_t mThird
Definition:
EdifVersion.hpp:49
torc::generic::EdifVersion
Definition:
EdifVersion.hpp:32
torc::generic::EdifVersion::mFirst
uint8_t mFirst
Definition:
EdifVersion.hpp:47
torc::generic::EdifVersion::operator=
EdifVersion & operator=(const EdifVersion &source)
Definition:
EdifVersion.cpp:37
torc::generic::EdifVersion::EdifVersion
EdifVersion()
Definition:
EdifVersion.cpp:30
src
torc
generic
EdifVersion.hpp
Generated on Thu Dec 18 2014 16:30:36 for torc-master by
1.8.6