Quantum Fog
0.9.3
Main Page
Related Pages
Classes
Files
File List
Legacy
QFog2-MachO
QFogSource
Mac_Stories
C_ANTHOLOGY_ITEM.h
1
#pragma once
2
3
#include "QFog_constants.h"
4
#include "VECTOR.h"
5
//******************************************
6
class
C_ANTHOLOGY_ITEM
7
{
8
// An anthology is a collection of net stories
9
// and information about each net story.
10
private
:
11
VECTOR<USHORT>
its_net_story;
12
COMPLEX its_net_amp;
13
USHORT its_ending;
// 1 based
14
15
public
:
16
C_ANTHOLOGY_ITEM
();
17
C_ANTHOLOGY_ITEM
(
18
const
VECTOR<USHORT>
& net_story,
19
const
COMPLEX & net_amp,
20
USHORT ending);
21
22
const
VECTOR<USHORT>
* get_net_story_ptr()
const
;
23
USHORT get_ending()
const
;
24
LStr255 get_descriptor(USHORT num, COORD_SYSTEM sys)
const
;
25
26
friend
BOOLEAN operator==(
27
const
C_ANTHOLOGY_ITEM
& it1,
28
const
C_ANTHOLOGY_ITEM
& it2);
29
friend
BOOLEAN operator!=(
30
const
C_ANTHOLOGY_ITEM
& it1,
31
const
C_ANTHOLOGY_ITEM
& it2);
32
33
};
34
#pragma mark -
35
36
//******************************************
37
inline
38
const
VECTOR<USHORT>
* C_ANTHOLOGY_ITEM::get_net_story_ptr()
const
39
{
40
return
&its_net_story;
41
}
42
//******************************************
43
inline
44
USHORT C_ANTHOLOGY_ITEM::get_ending()
const
45
{
46
return
its_ending;
47
}
48
//******************************************
49
inline
50
BOOLEAN operator!=(
51
const
C_ANTHOLOGY_ITEM
& it1,
//in
52
const
C_ANTHOLOGY_ITEM
& it2)
//in
53
{
54
return
!(it1==it2);
55
}
56
VECTOR< USHORT >
C_ANTHOLOGY_ITEM
Definition:
C_ANTHOLOGY_ITEM.h:6
Generated by
1.8.11