| 3 |
* |
* |
| 4 |
* $Revision$ |
* $Revision$ |
| 5 |
* $Log$ |
* $Log$ |
| 6 |
|
* Revision 1.2 2004/11/25 08:57:01 youi |
| 7 |
|
* コンストラクタ内でchar*型のメンバ変数を0で初期化. |
| 8 |
|
* get系関数にconst修飾. |
| 9 |
|
* |
| 10 |
* Revision 1.1 2004/11/22 08:25:16 youi |
* Revision 1.1 2004/11/22 08:25:16 youi |
| 11 |
* initial version. |
* initial version. |
| 12 |
* |
* |
| 20 |
|
|
| 21 |
account::account() |
account::account() |
| 22 |
{ |
{ |
| 23 |
|
// charポインタを0で初期値 |
| 24 |
|
address = 0; |
| 25 |
|
institute = 0; |
| 26 |
|
tel = 0; |
| 27 |
|
organization = 0; |
| 28 |
|
country = 0; |
| 29 |
|
zipcode = 0; |
| 30 |
|
fax = 0; |
| 31 |
|
baseURL = 0; |
| 32 |
|
uname = 0; |
| 33 |
|
name = 0; |
| 34 |
|
email = 0; |
| 35 |
|
url = 0; |
| 36 |
|
user_avatar = 0; |
| 37 |
|
user_icq = 0; |
| 38 |
|
user_from = 0; |
| 39 |
|
user_sig = 0; |
| 40 |
|
actkey = 0; |
| 41 |
|
user_aim = 0; |
| 42 |
|
user_yim = 0; |
| 43 |
|
user_msnm = 0; |
| 44 |
|
pass = 0; |
| 45 |
|
theme = 0; |
| 46 |
|
umode = 0; |
| 47 |
|
user_occ = 0; |
| 48 |
|
bio = 0; |
| 49 |
|
user_intrest = 0; |
| 50 |
|
|
| 51 |
uid = 0; |
uid = 0; |
| 52 |
activate = false; |
activate = false; |
| 53 |
setValue( &address, "" ); |
setValue( &address, "" ); |
| 124 |
if( user_intrest != 0 ) delete[] user_intrest; |
if( user_intrest != 0 ) delete[] user_intrest; |
| 125 |
} |
} |
| 126 |
|
|
| 127 |
int account::getUID(){ return uid; } |
int account::getUID() const { return uid; } |
| 128 |
|
|
| 129 |
bool account::getActivate(){ return activate; } |
bool account::getActivate() const { return activate; } |
| 130 |
|
|
| 131 |
const char * account::getAddress(){ return address; } |
const char * account::getAddress() const { return address; } |
| 132 |
|
|
| 133 |
const char * account::getInstitute(){ return institute; } |
const char * account::getInstitute() const { return institute; } |
| 134 |
|
|
| 135 |
const char * account::getTel(){ return tel; } |
const char * account::getTel() const { return tel; } |
| 136 |
|
|
| 137 |
const char * account::getOrganization(){ return organization; } |
const char * account::getOrganization() const { return organization; } |
| 138 |
|
|
| 139 |
const char * account::getCountry(){ return country; } |
const char * account::getCountry() const { return country; } |
| 140 |
|
|
| 141 |
const char * account::getZipcode(){ return zipcode; } |
const char * account::getZipcode() const { return zipcode; } |
| 142 |
|
|
| 143 |
const char * account::getFax(){ return fax; } |
const char * account::getFax() const { return fax; } |
| 144 |
|
|
| 145 |
const char * account::getBaseURL(){ return baseURL; } |
const char * account::getBaseURL() const { return baseURL; } |
| 146 |
|
|
| 147 |
int account::getNoticeMail(){ return noticeMail; } |
int account::getNoticeMail() const { return noticeMail; } |
| 148 |
|
|
| 149 |
time_t account::getNoticeMailSince(){ return noticeMailSince; } |
time_t account::getNoticeMailSince() const { return noticeMailSince; } |
| 150 |
|
|
| 151 |
// xoops_user |
// xoops_user |
| 152 |
const char* account::getUname( ){ return uname; } |
const char* account::getUname( ) const { return uname; } |
| 153 |
|
|
| 154 |
const char* account::getName( ){ return name; } |
const char* account::getName( ) const { return name; } |
| 155 |
|
|
| 156 |
const char* account::getEmail( ){ return email; } |
const char* account::getEmail( ) const { return email; } |
| 157 |
|
|
| 158 |
const char* account::getURL( ){ return url; } |
const char* account::getURL( ) const { return url; } |
| 159 |
|
|
| 160 |
const char* account::getUserAvatar( ){ return user_avatar; } |
const char* account::getUserAvatar( ) const { return user_avatar; } |
| 161 |
|
|
| 162 |
int account::getUserRegdate( ){ return user_regdate; } |
int account::getUserRegdate( ) const { return user_regdate; } |
| 163 |
|
|
| 164 |
const char* account::getUserIcq( ){ return user_icq; } |
const char* account::getUserIcq( ) const { return user_icq; } |
| 165 |
|
|
| 166 |
const char* account::getUserFrom( ){ return user_from; } |
const char* account::getUserFrom( ) const { return user_from; } |
| 167 |
|
|
| 168 |
const char* account::getUserSig( ){ return user_sig; } |
const char* account::getUserSig( ) const { return user_sig; } |
| 169 |
|
|
| 170 |
int account::getUserViewemail( ){ return user_viewemail; } |
int account::getUserViewemail( ) const { return user_viewemail; } |
| 171 |
|
|
| 172 |
const char* account::getActkey( ){ return actkey; } |
const char* account::getActkey( ) const { return actkey; } |
| 173 |
|
|
| 174 |
const char* account::getUserAim( ){ return user_aim; } |
const char* account::getUserAim( ) const { return user_aim; } |
| 175 |
|
|
| 176 |
const char* account::getUserYim( ){ return user_yim; } |
const char* account::getUserYim( ) const { return user_yim; } |
| 177 |
|
|
| 178 |
const char* account::getUserMsnm( ){ return user_msnm; } |
const char* account::getUserMsnm( ) const { return user_msnm; } |
| 179 |
|
|
| 180 |
const char* account::getPass( ){ return pass; } |
const char* account::getPass( ) const { return pass; } |
| 181 |
|
|
| 182 |
int account::getPosts( ){ return posts; } |
int account::getPosts( ) const { return posts; } |
| 183 |
|
|
| 184 |
int account::getAttachsig( ){ return attachsig; } |
int account::getAttachsig( ) const { return attachsig; } |
| 185 |
|
|
| 186 |
int account::getRank( ){ return rank; } |
int account::getRank( ) const { return rank; } |
| 187 |
|
|
| 188 |
int account::getLevel( ){ return level; } |
int account::getLevel( ) const { return level; } |
| 189 |
|
|
| 190 |
const char* account::getTheme( ){ return theme; } |
const char* account::getTheme( ) const { return theme; } |
| 191 |
|
|
| 192 |
double account::getTimezoneOffset( ){ return timezone_offset; } |
double account::getTimezoneOffset( ) const { return timezone_offset; } |
| 193 |
|
|
| 194 |
int account::getLastLogin( ){ return last_login; } |
int account::getLastLogin( ) const { return last_login; } |
| 195 |
|
|
| 196 |
const char* account::getUmode( ){ return umode; } |
const char* account::getUmode( ) const { return umode; } |
| 197 |
|
|
| 198 |
int account::getUorder( ){ return uorder; } |
int account::getUorder( ) const { return uorder; } |
| 199 |
|
|
| 200 |
int account::getNotifyMethod( ){ return notify_method; } |
int account::getNotifyMethod( ) const { return notify_method; } |
| 201 |
|
|
| 202 |
int account::getNotifyMode( ){ return notify_mode; } |
int account::getNotifyMode( ) const { return notify_mode; } |
| 203 |
|
|
| 204 |
const char* account::getUserOcc( ){ return user_occ; } |
const char* account::getUserOcc( ) const { return user_occ; } |
| 205 |
|
|
| 206 |
const char* account::getBio( ){ return bio; } |
const char* account::getBio( ) const { return bio; } |
| 207 |
|
|
| 208 |
const char* account::getUserIntrest( ){ return user_intrest; } |
const char* account::getUserIntrest( ) const { return user_intrest; } |
| 209 |
|
|
| 210 |
int account::getUserMailok( ){ return user_mailok; } |
int account::getUserMailok( ) const { return user_mailok; } |
| 211 |
|
|
| 212 |
|
|
| 213 |
// |
// |