#include <Annotation.h>
Public Member Functions | |
Annotation () | |
Annotation (int id, int score) | |
Annotation (int id, int score, string name) | |
~Annotation () | |
void | setId (int id) |
void | setScore (int score) |
void | setName (string name) |
int | getId () |
int | getScore () |
string | getName () |
Annotation (const Annotation &other) | |
Annotation & | operator= (const Annotation &other) |
bool | operator== (const Annotation &other) const |
bool | operator!= (const Annotation &other) const |
Private Attributes | |
int | m_iId |
int | m_iScore |
string | m_sName |
Write detailed description for Annotation here.
Definition at line 29 of file Annotation.h.
|
Write brief comment for Annotation here.
Definition at line 51 of file Annotation.h. Referenced by Annotation(). 00051 {};
|
|
Write brief comment for Annotation here.
Definition at line 26 of file Annotation.cpp. References m_iId, and m_iScore.
|
|
Write brief comment for Annotation here.
Definition at line 55 of file Annotation.cpp. References Annotation(), and m_sName. 00055 { 00056 Annotation(id,score); 00057 m_sName = name; 00058 }
|
Here is the call graph for this function:
|
Write brief comment for ~Annotation here.
Definition at line 69 of file Annotation.h. 00069 {};
|
|
Write brief comment for Annotation here.
Definition at line 210 of file Annotation.cpp. References m_iId, m_iScore, and m_sName. 00210 { 00211 m_iId = other.m_iId; 00212 m_iScore = other.m_iScore; 00213 m_sName = other.m_sName; 00214 }
|
|
Write brief comment for getId here.
Definition at line 144 of file Annotation.cpp. 00144 {
00145 return m_iId;
00146 }
|
|
Write brief comment for getName here.
Definition at line 188 of file Annotation.cpp. 00188 {
00189 return m_sName;
00190 }
|
|
Write brief comment for getScore here.
Definition at line 166 of file Annotation.cpp. 00166 {
00167 return m_iScore;
00168 }
|
|
Write brief comment for operator != here.
Definition at line 303 of file Annotation.cpp. References m_iId, m_iScore, and m_sName. 00304 { 00305 if( m_iId == other.m_iId 00306 && m_iScore == other.m_iScore 00307 && m_sName == other.m_sName ) { 00308 return false; 00309 } 00310 return true; 00311 }
|
|
Write brief comment for operator = here.
Definition at line 237 of file Annotation.cpp. References m_iId, m_iScore, and m_sName. 00238 { 00239 // if same object 00240 if ( this == &other ) 00241 return *this; 00242 00243 m_iId = other.m_iId; 00244 m_iScore = other.m_iScore; 00245 m_sName = other.m_sName; 00246 00247 return *this; 00248 }
|
|
Write brief comment for operator == here.
Definition at line 271 of file Annotation.cpp. References m_iId, m_iScore, and m_sName. 00272 { 00273 00274 if( m_iId == other.m_iId 00275 && m_iScore == other.m_iScore 00276 && m_sName == other.m_sName ) { 00277 return true; 00278 } 00279 return false; 00280 }
|
|
Write brief comment for setId here.
Definition at line 78 of file Annotation.cpp. References m_iId. 00078 { 00079 m_iId = id; 00080 }
|
|
Write brief comment for setName here.
Definition at line 122 of file Annotation.cpp. References m_sName. 00122 { 00123 m_sName = name; 00124 }
|
|
Write brief comment for setScore here.
Definition at line 100 of file Annotation.cpp. References m_iScore. 00100 { 00101 m_iScore = score; 00102 }
|
|
Definition at line 31 of file Annotation.h. Referenced by Annotation(), operator!=(), operator=(), operator==(), and setId(). |
|
Definition at line 32 of file Annotation.h. Referenced by Annotation(), operator!=(), operator=(), operator==(), and setScore(). |
|
Definition at line 33 of file Annotation.h. Referenced by Annotation(), operator!=(), operator=(), operator==(), and setName(). |