66 if (typeStr ==
"owner") {
68 }
else if (typeStr ==
"assignee") {
70 }
else if (typeStr ==
"licensee") {
88 void set_name(
const string &name) { _name = name; }
100 void set_org(
const string &org) { _org = org; }
136 void set_fax(
const string &fax) { _fax = fax; }
229 if (typeStr ==
"owner") {
231 }
else if (typeStr ==
"agent") {
233 }
else if (typeStr ==
"thirdparty") {
251 void set_name(
const string &name) { _name = name; }
263 void set_org(
const string &org) { _org = org; }
299 void set_fax(
const string &fax) { _fax = fax; }
364 void set_id(
const string &
id) { _id = id; }
388 void set_holders(
const list<pair<SMDHolder::Type::Value, SMDHolder> > &holders)
400 _holders.push_back(make_pair(type, holder));
407 list<pair<SMDHolder::Type::Value, SMDHolder> >
get_holders()
const {
return _holders; }
413 void set_contacts(
const map<SMDContact::Type::Value, SMDContact> &contacts)
415 _contacts = contacts;
425 _contacts[type] = contact;
432 map<SMDContact::Type::Value, SMDContact>
get_contacts()
const {
return _contacts; }
454 void set_classes(
const list<string> &classes) { _classes = classes; }
460 void add_class(
const string &markClass) { _classes.push_back(markClass); }
474 void set_labels(
const list<string> &labels) { _labels = labels; }
482 void add_label(
const string &label) { _labels.push_back(label); }
500 _goodsAndServices = goodsAndServices;
517 void set_apId(
const string &apId) { _apId = apId; }
586 _jurisdiction.clear();
589 _goodsAndServices.clear();
605 list<pair<SMDHolder::Type::Value, SMDHolder> > _holders;
608 map<SMDContact::Type::Value, SMDContact> _contacts;
612 string _jurisdiction;
617 list<string> _classes;
620 list<string> _labels;
624 string _goodsAndServices;
658 void set_cc(
const string &cc) { _cc = cc; }
688 void set_rulings(
const list<string> &rulings) { _rulings = rulings; }
694 void add_ruling(
const string &ruling) { _rulings.push_back(ruling); }
719 list<string> _rulings;
736 void set_id(
const string &
id) { _id = id; }
760 void set_holders(
const list<pair<SMDHolder::Type::Value, SMDHolder> > &holders)
772 _holders.push_back(make_pair(type, holder));
779 list<pair<SMDHolder::Type::Value, SMDHolder> >
get_holders()
const {
return _holders; }
787 void set_contacts(
const map<SMDContact::Type::Value, SMDContact> &contacts)
789 _contacts = contacts;
799 _contacts[type] = contact;
808 map<SMDContact::Type::Value, SMDContact>
get_contacts()
const {
return _contacts; }
818 _protections = protections;
829 _protections.push_back(protection);
846 void set_labels(
const list<string> &labels) { _labels = labels; }
854 void add_label(
const string &label) { _labels.push_back(label); }
872 _goodsAndServices = goodsAndServices;
938 _protections.clear();
940 _goodsAndServices.clear();
955 list<pair<SMDHolder::Type::Value, SMDHolder> > _holders;
958 map<SMDContact::Type::Value, SMDContact> _contacts;
961 list<SMDProtection> _protections;
964 list<string> _labels;
968 string _goodsAndServices;
997 void set_id(
const string &
id) { _id = id; }
1021 void set_holders(
const list<pair<SMDHolder::Type::Value, SMDHolder> > &holders)
1033 _holders.push_back(make_pair(type, holder));
1040 list<pair<SMDHolder::Type::Value, SMDHolder> >
get_holders()
const {
return _holders; }
1048 void set_contacts(
const map<SMDContact::Type::Value, SMDContact> &contacts)
1050 _contacts = contacts;
1060 _contacts[type] = contact;
1069 map<SMDContact::Type::Value, SMDContact>
get_contacts()
const {
return _contacts; }
1077 void set_labels(
const list<string> &labels) { _labels = labels; }
1085 void add_label(
const string &label) { _labels.push_back(label); }
1103 _goodsAndServices = goodsAndServices;
1168 void add_region(
const string ®ion) { _regions.push_back(region); }
1198 _goodsAndServices.clear();
1214 list<pair<SMDHolder::Type::Value, SMDHolder> > _holders;
1217 map<SMDContact::Type::Value, SMDContact> _contacts;
1220 list<string> _labels;
1224 string _goodsAndServices;
1237 list<string> _regions;
1257 void set_trademarks(
const list<SMDTrademark> &trademarks) { _trademarks = trademarks; }
1277 _treatyOrStatutes = treatyOrStatute;
1286 _treatyOrStatutes.push_back(treatyOrStatute);
1299 void set_court(
const list<SMDCourt> &court) { _court = court; }
1316 _trademarks.clear();
1317 _treatyOrStatutes.clear();
1321 bool is_empty()
const
1323 return _trademarks.empty() && _treatyOrStatutes.empty() && _court.empty();
1328 list<SMDTrademark> _trademarks;
1331 list<SMDTreatyOrStatute> _treatyOrStatutes;
1334 list<SMDCourt> _court;
1528 _issuerInfo.
reset();
string get_title() const
Returns the title of the treaty or statute.
Definition: SMD.H:917
void add_holder(const SMDHolder::Type::Value type, const SMDHolder &holder)
Add a holder of the mark.
Definition: SMD.H:770
void add_holder(const SMDHolder::Type::Value type, const SMDHolder &holder)
Add a holder of the mark.
Definition: SMD.H:398
SMDHolder()
Default constructor.
Definition: SMD.H:79
list< pair< SMDHolder::Type::Value, SMDHolder > > get_holders() const
Returns information of the holder of the mark.
Definition: SMD.H:779
string get_proDate() const
Returns the date of protection of the mark.
Definition: SMD.H:905
SMDTrademark()
Default constructor.
Definition: SMD.H:355
void add_label(const string &label)
Definition: SMD.H:1085
void reset()
Reset object attributes.
Definition: SMD.H:1314
void set_fax(const string &fax)
Sets the organization's facsimile telephone number.
Definition: SMD.H:136
SMDTreatyOrStatute()
Default constructor.
Definition: SMD.H:727
string get_jurisdiction() const
Definition: SMD.H:448
void set_voice(const string &voice)
Sets the organization's voice telephone number.
Definition: SMD.H:124
EPP SMDCourt Class.
Definition: SMD.H:984
void set_courtName(const string &courtName)
Sets the name of the court.
Definition: SMD.H:1182
EPP SMDHolder Class.
Definition: SMD.H:25
string get_apDate() const
Returns the date the trademark was applied for.
Definition: SMD.H:537
void set_email(const string &email)
Sets the issuer customer support email address.
Definition: SMD.H:1375
EPP SMDTreatyOrStatute Class.
Definition: SMD.H:723
void set_title(const string &title)
Sets the title of the treaty or statute.
Definition: SMD.H:911
void set_apId(const string &apId)
Definition: SMD.H:517
void reset()
Reset object attributes.
Definition: SMD.H:157
void set_holders(const list< pair< SMDHolder::Type::Value, SMDHolder > > &holders)
Sets the information of the holder of the mark.
Definition: SMD.H:760
void set_holders(const list< pair< SMDHolder::Type::Value, SMDHolder > > &holders)
Sets the information of the holder of the mark.
Definition: SMD.H:388
list< string > get_labels() const
Definition: SMD.H:490
string get_email() const
Returns the issuer customer support email address.
Definition: SMD.H:1381
EPP SMDIssuerInfo Class.
Definition: SMD.H:1338
void add_court(const SMDCourt &court)
Add a court.
Definition: SMD.H:1305
void set_id(const string &id)
Sets the identifier of the mark.
Definition: SMD.H:736
void reset()
Reset object attributes.
Definition: SMD.H:1525
list< string > get_regions() const
Definition: SMD.H:1176
string get_name() const
Returns the name of the holder.
Definition: SMD.H:94
void add_contact(const SMDContact::Type::Value type, const SMDContact &contact)
Add information of the representative of the mark registration.
Definition: SMD.H:423
map< SMDContact::Type::Value, SMDContact > get_contacts() const
Definition: SMD.H:808
void set_signature(const string &signature)
Sets the XML Signature for the
Definition: SMD.H:1516
string get_exDate() const
Returns the expiration date of the trademark.
Definition: SMD.H:577
list< string > get_labels() const
Definition: SMD.H:1093
EPP SMDMark Class.
Definition: SMD.H:1244
string get_fax() const
Returns the organization's facsimile telephone number.
Definition: SMD.H:142
string get_notBefore() const
Returns the creation date and time of the signed mark.
Definition: SMD.H:1486
PostalInfo class.
Definition: CommonData.H:281
string get_refNum() const
Returns the reference number of the court's opinion.
Definition: SMD.H:1124
string get_signature() const
Returns the XML Signature for the
Definition: SMD.H:1522
void set_id(const string &id)
Sets the identifier of the issuer.
Definition: SMD.H:1351
void set_goodsAndServices(const string &goodsAndServices)
Definition: SMD.H:498
string get_regDate() const
Returns the date the trademark was registered.
Definition: SMD.H:565
void add_protection(const SMDProtection &protection)
Definition: SMD.H:827
void set_cc(const string &cc)
Definition: SMD.H:1144
EPP SMDHolder::Type Class.
Definition: SMD.H:29
string get_voice() const
Returns the issuer's voice telephone number.
Definition: SMD.H:1405
SMDProtection()
Default constructor.
Definition: SMD.H:647
void set_proDate(const string &proDate)
Sets the date of protection of the mark.
Definition: SMD.H:899
string get_org() const
Returns the organization name of the issuer.
Definition: SMD.H:1369
void set_protections(const list< SMDProtection > &protections)
Definition: SMD.H:816
string get_goodsAndServices() const
Definition: SMD.H:1112
void set_exDate(const string &exDate)
Sets the expiration date of the trademark.
Definition: SMD.H:571
string get_regNum() const
Definition: SMD.H:553
string get_notAfter() const
Returns the expiration date and time of the signed mark.
Definition: SMD.H:1498
SMDMark get_mark() const
Returns the mark information.
Definition: SMD.H:1510
void add_contact(const SMDContact::Type::Value type, const SMDContact &contact)
Add information of the representative of the mark registration.
Definition: SMD.H:1058
void add_label(const string &label)
Definition: SMD.H:854
void set_jurisdiction(const string &jurisdiction)
Definition: SMD.H:440
void set_holders(const list< pair< SMDHolder::Type::Value, SMDHolder > > &holders)
Sets the information of the holder of the mark.
Definition: SMD.H:1021
static string toStr(const Value type)
Convert type into text.
Definition: SMD.H:45
void set_url(const string &url)
Sets the HTTP URL of the issuer's site.
Definition: SMD.H:1387
void set_court(const list< SMDCourt > &court)
Sets the list of court.
Definition: SMD.H:1299
string get_email() const
Returns the contact's email address.
Definition: SMD.H:154
void set_postalInfo(const PostalInfo &postalInfo)
Sets the address information of the holder of a mark.
Definition: SMD.H:112
SMDIssuerInfo()
Default constructor.
Definition: SMD.H:1342
string get_cc() const
Definition: SMD.H:1152
void set_contacts(const map< SMDContact::Type::Value, SMDContact > &contacts)
Definition: SMD.H:787
string get_courtName() const
Returns the name of the court.
Definition: SMD.H:1188
void set_refNum(const string &refNum)
Sets the reference number of the court's opinion.
Definition: SMD.H:1118
void set_goodsAndServices(const string &goodsAndServices)
Definition: SMD.H:870
string get_org() const
Returns the name of the organization holder of the mark.
Definition: SMD.H:106
string get_goodsAndServices() const
Definition: SMD.H:509
string get_region() const
Definition: SMD.H:682
EPP SMDTrademark Class.
Definition: SMD.H:351
string get_markName() const
Returns the mark text string.
Definition: SMD.H:382
void reset()
Reset object attributes.
Definition: SMD.H:580
void set_org(const string &org)
Sets the name of the organization holder of the mark.
Definition: SMD.H:100
string get_apId() const
Definition: SMD.H:525
list< string > get_classes() const
Returns the Nice Classification class numbers of the mark.
Definition: SMD.H:466
void set_contacts(const map< SMDContact::Type::Value, SMDContact > &contacts)
Definition: SMD.H:1048
string get_refNum() const
Returns the number of the mark of the treaty or statute.
Definition: SMD.H:893
string get_id() const
Returns the identifier of the mark.
Definition: SMD.H:1003
list< pair< SMDHolder::Type::Value, SMDHolder > > get_holders() const
Returns the information of the holder of the mark.
Definition: SMD.H:1040
PostalInfo get_postalInfo() const
Returns the address information of the holder of a mark.
Definition: SMD.H:118
string get_id() const
Definition: SMD.H:1462
void add_region(const string ®ion)
Definition: SMD.H:1168
void set_issuerInfo(const SMDIssuerInfo &issuerInfo)
Sets the information of the issuer of the mark registration.
Definition: SMD.H:1468
string get_id() const
Returns the identifier of the mark.
Definition: SMD.H:742
void set_voice(const string &voice)
Sets the issuer's voice telephone number.
Definition: SMD.H:1399
void add_trademark(const SMDTrademark &trademark)
Add a trademark.
Definition: SMD.H:1263
void set_goodsAndServices(const string &goodsAndServices)
Definition: SMD.H:1101
void set_refNum(const string &refNum)
Sets the number of the mark of the treaty or statute.
Definition: SMD.H:887
string get_url() const
Returns the HTTP URL of the issuer's site.
Definition: SMD.H:1393
void set_id(const string &id)
Definition: SMD.H:1452
void set_treatyOrStatutes(const list< SMDTreatyOrStatute > &treatyOrStatute)
Sets the list of treaty or statutes.
Definition: SMD.H:1275
string get_markName() const
Returns the mark text string.
Definition: SMD.H:1015
void add_class(const string &markClass)
Add a Nice Classification class numbers of the mark.
Definition: SMD.H:460
void reset()
Reset object attributes.
Definition: SMD.H:932
void set_markName(const string &markName)
Sets the mark text string.
Definition: SMD.H:1009
list< SMDTrademark > get_trademarks() const
Returns the list of trademarks.
Definition: SMD.H:1269
void set_regNum(const string ®Num)
Definition: SMD.H:545
list< pair< SMDHolder::Type::Value, SMDHolder > > get_holders() const
Returns the information of the holder of the mark.
Definition: SMD.H:407
Value
Possible types of holder.
Definition: SMD.H:33
void add_ruling(const string &ruling)
Add a two-character code of the country of the ruling.
Definition: SMD.H:694
EPP SMD Class.
Definition: SMD.H:1435
void reset()
Reset object attributes.
Definition: SMD.H:1408
list< SMDProtection > get_protections() const
Definition: SMD.H:838
void set_regions(const list< string > ®ions)
Definition: SMD.H:1160
void add_label(const string &label)
Definition: SMD.H:482
void add_holder(const SMDHolder::Type::Value type, const SMDHolder &holder)
Add a holder of the mark.
Definition: SMD.H:1031
void set_labels(const list< string > &labels)
Definition: SMD.H:1077
list< SMDCourt > get_court() const
Returns the list of court.
Definition: SMD.H:1311
void set_contacts(const map< SMDContact::Type::Value, SMDContact > &contacts)
Sets the information of the representative of the mark registration.
Definition: SMD.H:413
string get_voice() const
Returns the organization's voice telephone number.
Definition: SMD.H:130
void set_id(const string &id)
Sets the identifier of the mark.
Definition: SMD.H:364
void set_execDate(const string &execDate)
Sets the execution date of the treaty or statute.
Definition: SMD.H:923
void reset()
Reset object attributes.
Definition: SMD.H:703
string get_execDate() const
Returns the execution date of the treaty or statute.
Definition: SMD.H:929
string get_id() const
Returns the identifier of the mark.
Definition: SMD.H:370
list< string > get_rulings() const
Returns the two-character code of the countries of the ruling.
Definition: SMD.H:700
void set_region(const string ®ion)
Definition: SMD.H:674
void set_markName(const string &markName)
Sets the mark text string.
Definition: SMD.H:376
void set_classes(const list< string > &classes)
Sets the Nice Classification class numbers of the mark.
Definition: SMD.H:454
SMDIssuerInfo get_issuerInfo() const
Returns the information of the issuer of the mark registration.
Definition: SMD.H:1474
static Value fromStr(const string typeStr)
Convert a text into enum.
Definition: SMD.H:65
SMDCourt()
Default constructor.
Definition: SMD.H:988
void set_notBefore(const string ¬Before)
Sets the creation date and time of the signed mark.
Definition: SMD.H:1480
void add_contact(const SMDContact::Type::Value type, const SMDContact &contact)
Add information of the representative of the mark registration.
Definition: SMD.H:797
map< SMDContact::Type::Value, SMDContact > get_contacts() const
Returns the information of the representative of the mark registration.
Definition: SMD.H:432
string get_markName() const
Returns the mark text string.
Definition: SMD.H:754
string get_id() const
Returns the identifier of the issuer.
Definition: SMD.H:1357
void set_cc(const string &cc)
Definition: SMD.H:658
void set_proDate(const string &proDate)
Sets the date of protection of the mark.
Definition: SMD.H:1130
void set_org(const string &org)
Sets the organization name of the issuer.
Definition: SMD.H:1363
string get_cc() const
Definition: SMD.H:666
EPP SMDProtection Class.
Definition: SMD.H:643
string get_proDate() const
Returns the date of protection of the mark.
Definition: SMD.H:1136
void set_labels(const list< string > &labels)
Definition: SMD.H:846
void set_markName(const string &markName)
Sets the mark text string.
Definition: SMD.H:748
map< SMDContact::Type::Value, SMDContact > get_contacts() const
Definition: SMD.H:1069
void set_labels(const list< string > &labels)
Definition: SMD.H:474
void add_treatyOrStatute(const SMDTreatyOrStatute &treatyOrStatute)
Add a treaty or statute.
Definition: SMD.H:1284
void set_rulings(const list< string > &rulings)
Sets the two-character code of the countries of the ruling.
Definition: SMD.H:688
void set_regDate(const string ®Date)
Sets the date the trademark was registered.
Definition: SMD.H:559
void set_apDate(const string &apDate)
Sets the date the trademark was applied for.
Definition: SMD.H:531
list< SMDTreatyOrStatute > get_treatyOrStatutes() const
Returns the list of treaty or statutes.
Definition: SMD.H:1293
void set_trademarks(const list< SMDTrademark > &trademarks)
Sets the list of trademarks.
Definition: SMD.H:1257
SMD()
Default constructor.
Definition: SMD.H:1439
SMDMark()
Default constructor.
Definition: SMD.H:1248
void set_email(const string &email)
Sets the contact's email address.
Definition: SMD.H:148
void set_mark(const SMDMark &mark)
Sets the mark information.
Definition: SMD.H:1504
void reset()
Reset object attributes.
Definition: SMD.H:1191
string get_goodsAndServices() const
Definition: SMD.H:881
list< string > get_labels() const
Definition: SMD.H:862
void set_name(const string &name)
Sets the name of the holder.
Definition: SMD.H:88
void set_notAfter(const string ¬After)
Sets the expiration date and time of the signed mark.
Definition: SMD.H:1492
void set_id(const string &id)
Sets the identifier of the mark.
Definition: SMD.H:997