ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/FAS/src/frame.cpp
(Generate patch)

Comparing trunk/FAS/src/frame.cpp (file contents):
Revision 81 by tim, Thu Aug 15 22:14:31 2002 UTC vs.
Revision 88 by tim, Mon Aug 19 20:49:08 2002 UTC

# Line 36 | Line 36 | TFrame::~TFrame()
36   {
37  
38   }
39 + /*
40 + void TFrame::AddExtraData(TExtraData *extraData)
41 + {
42 +  if (extraData != NULL)
43 +  {
44 +    _extraDataList.push_back(extraData);
45 +  }
46  
47 + }
48 +
49 + void TFrame::RemoveExtraData(TExtraData *extraData)
50 + {
51 +  vector<TExtraData *>::iterator i;
52 +
53 +  i = find(_extraDataList.begin(), _extraDataList.end(), extraData);
54 +
55 +  if (i != _extraDataList.end())
56 +  {
57 +    _extraDataList.erase(i);
58 +  }
59 +  else
60 +  {//warning
61 +
62 +  }
63 +
64 + }
65 +
66 + TExtraData *TFrame::GetExtraData(int extraDataType)
67 + {
68 +
69 + }
70 +
71 + TExtraData *TFrame::GetExtraData(string attr)
72 + {
73 +
74 + }
75 + */
76 + float TFrame::GetCoor(int frameIndex)
77 + {
78 +  if (frameIndex >= 0 | frameIndex < _coor.size())
79 +  {
80 +    return _coor[frameIndex];
81 +  }
82 +  else
83 +  {
84 +
85 +  }
86 +
87 + }
88 +
89 + float TFrame::GetVelo(int frameIndex)
90 + {
91 +  if (frameIndex >= 0 | frameIndex < _velo.size())
92 +  {
93 +    return _velo[frameIndex]
94 +  }
95 +  else
96 +  {
97 +
98 +  }
99 +
100 +
101 + }
102 +
103 + void TFrame::Reserve(int numAtom)
104 + {
105 +
106 + }
107 +
108 + void TFrame::Init()
109 + {
110 +
111 + }
112 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines