Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / examples / Web_Crawler / URL_Status.cpp
blob6ccb29c422accabc1f2cdf3fdcb0a5530ebd9493
1 /* -*- C++ -*- */
2 #include "URL_Status.h"
5 URL_Status::URL_Status (STATUS_CODE code)
6 : status_ (code)
10 URL_Status::URL_Status (const URL_Status &s)
11 : status_ (s.status_)
15 URL_Status::STATUS_CODE
16 URL_Status::status () const
18 return this->status_;
21 void
22 URL_Status::status (int s)
24 this->status_ = URL_Status::STATUS_CODE (s);
27 void
28 URL_Status::status (URL_Status::STATUS_CODE s)
30 this->status_ = s;
33 int URL_Status::destroy ()
35 delete this;
36 return 0;