Main Page
Classes
Files
File List
File Members
examples.h
Go to the documentation of this file.
1
#ifndef EXAMPLES_H
2
#define EXAMPLES_H
3
4
/*
5
* examples.h
6
* Copyright (c) 2016 Georgetown University. All Rights Reserved.
7
*/
8
9
#include <string>
10
#include <iostream>
11
#include <vector>
12
#include <stdexcept>
13
#include <cstdlib>
14
#include "
attributes.h
"
15
#include "
example.h
"
16
17
using namespace
std;
18
26
class
Examples
:
public
vector<Example>
27
{
36
friend
ostream &
operator<<
( ostream &out,
const
Examples
&e );
37
38
private
:
39
41
Attributes
attributes
;
42
43
public
:
44
47
Examples
();
48
56
Examples
(
const
Attributes
&attributes )
throw
( logic_error );
57
66
void
parse( istream &in )
throw
( logic_error );
67
75
void
setAttributes(
const
Attributes
&attributes )
throw
( logic_error );
76
77
};
// Examples class
78
79
#endif
example.h
attributes.h
Attributes
Definition:
attributes.h:26
Examples
Definition:
examples.h:26
Examples::attributes
Attributes attributes
Definition:
examples.h:41
operator<<
ostream & operator<<(ostream &out, const Attribute &a)
Definition:
attribute.cc:31
Generated on Tue Feb 9 2016 06:32:10 by
1.8.6