libepp_nicbr
SMD.H
Go to the documentation of this file.
1 /* ${copyright}$ */
2 /* $Id$ */
7 #ifndef __SMD_H__
8 #define __SMD_H__
9 
10 #include <list>
11 #include <map>
12 #include <string>
13 
14 #include "CommonData.H"
15 
16 using std::list;
17 using std::make_pair;
18 using std::map;
19 using std::pair;
20 using std::string;
21 
22 LIBEPP_NICBR_NS_BEGIN
23 
25 class SMDHolder
26 {
27 public:
29  class Type
30  {
31  public:
33  enum Value {
34  NONE,
35  OWNER,
36  ASSIGNEE,
37  LICENSEE
38  };
39 
41  /*
42  @param type holder type
43  @return text representation of the type
44  */
45  static string toStr(const Value type) {
46  switch(type) {
47  case NONE:
48  break;
49  case OWNER:
50  return "owner";
51  case ASSIGNEE:
52  return "assignee";
53  case LICENSEE:
54  return "licensee";
55  }
56 
57  return "";
58  }
59 
61  /*
62  @param typeStr text based type
63  @return enum representation of the type
64  */
65  static Value fromStr(const string typeStr) {
66  if (typeStr == "owner") {
67  return OWNER;
68  } else if (typeStr == "assignee") {
69  return ASSIGNEE;
70  } else if (typeStr == "licensee") {
71  return LICENSEE;
72  }
73 
74  return NONE;
75  }
76  };
77 
80  {
81  reset();
82  }
83 
85 
88  void set_name(const string &name) { _name = name; }
89 
91 
94  string get_name() const { return _name; }
95 
97 
100  void set_org(const string &org) { _org = org; }
101 
103 
106  string get_org() const { return _org; }
107 
109 
112  void set_postalInfo(const PostalInfo &postalInfo) { _postalInfo = postalInfo; }
113 
115 
118  PostalInfo get_postalInfo() const { return _postalInfo; }
119 
121 
124  void set_voice(const string &voice) { _voice = voice; }
125 
127 
130  string get_voice() const { return _voice; }
131 
133 
136  void set_fax(const string &fax) { _fax = fax; }
137 
139 
142  string get_fax() const { return _fax; }
143 
145 
148  void set_email(const string &email) { _email = email; }
149 
151 
154  string get_email() const { return _email; }
155 
157  void reset()
158  {
159  _name.clear();
160  _org.clear();
161  _postalInfo.reset();
162  _voice.clear();
163  _fax.clear();
164  _email.clear();
165  }
166 
167 private:
169  string _name;
170 
172  string _org;
173 
175  PostalInfo _postalInfo;
176 
178  string _voice;
179 
181  string _fax;
182 
184  string _email;
185 };
186 
189 {
190 public:
192  class Type
193  {
194  public:
196  enum Value {
197  NONE,
198  OWNER,
199  AGENT,
200  THIRD_PARTY
201  };
202 
204  /*
205  @param type contact type
206  @return text representation of the type
207  */
208  static string toStr(const Value type) {
209  switch(type) {
210  case NONE:
211  break;
212  case OWNER:
213  return "owner";
214  case AGENT:
215  return "agent";
216  case THIRD_PARTY:
217  return "thirdparty";
218  }
219 
220  return "";
221  }
222 
224  /*
225  @param typeStr text based type
226  @return enum representation of the type
227  */
228  static Value fromStr(const string typeStr) {
229  if (typeStr == "owner") {
230  return OWNER;
231  } else if (typeStr == "agent") {
232  return AGENT;
233  } else if (typeStr == "thirdparty") {
234  return THIRD_PARTY;
235  }
236 
237  return NONE;
238  }
239  };
240 
243  {
244  reset();
245  }
246 
248 
251  void set_name(const string &name) { _name = name; }
252 
254 
257  string get_name() const { return _name; }
258 
260 
263  void set_org(const string &org) { _org = org; }
264 
266 
269  string get_org() const { return _org; }
270 
272 
275  void set_postalInfo(const PostalInfo &postalInfo) { _postalInfo = postalInfo; }
276 
278 
281  PostalInfo get_postalInfo() const { return _postalInfo; }
282 
284 
287  void set_voice(const string &voice) { _voice = voice; }
288 
290 
293  string get_voice() const { return _voice; }
294 
296 
299  void set_fax(const string &fax) { _fax = fax; }
300 
302 
305  string get_fax() const { return _fax; }
306 
308 
311  void set_email(const string &email) { _email = email; }
312 
314 
317  string get_email() const { return _email; }
318 
320  void reset()
321  {
322  _name.clear();
323  _org.clear();
324  _postalInfo.reset();
325  _voice.clear();
326  _fax.clear();
327  _email.clear();
328  }
329 
330 private:
332  string _name;
333 
335  string _org;
336 
338  PostalInfo _postalInfo;
339 
341  string _voice;
342 
344  string _fax;
345 
347  string _email;
348 };
349 
352 {
353 public:
356  {
357  reset();
358  }
359 
361 
364  void set_id(const string &id) { _id = id; }
365 
367 
370  string get_id() const { return _id; }
371 
373 
376  void set_markName(const string &markName) { _markName = markName; }
377 
379 
382  string get_markName() const { return _markName; }
383 
385 
388  void set_holders(const list<pair<SMDHolder::Type::Value, SMDHolder> > &holders)
389  {
390  _holders = holders;
391  }
392 
394 
398  void add_holder(const SMDHolder::Type::Value type, const SMDHolder &holder)
399  {
400  _holders.push_back(make_pair(type, holder));
401  }
402 
404 
407  list<pair<SMDHolder::Type::Value, SMDHolder> > get_holders() const { return _holders; }
408 
410 
413  void set_contacts(const map<SMDContact::Type::Value, SMDContact> &contacts)
414  {
415  _contacts = contacts;
416  }
417 
419 
423  void add_contact(const SMDContact::Type::Value type, const SMDContact &contact)
424  {
425  _contacts[type] = contact;
426  }
427 
429 
432  map<SMDContact::Type::Value, SMDContact> get_contacts() const { return _contacts; }
433 
436 
440  void set_jurisdiction(const string &jurisdiction) { _jurisdiction = jurisdiction; }
441 
444 
448  string get_jurisdiction() const { return _jurisdiction; }
449 
451 
454  void set_classes(const list<string> &classes) { _classes = classes; }
455 
457 
460  void add_class(const string &markClass) { _classes.push_back(markClass); }
461 
463 
466  list<string> get_classes() const { return _classes; }
467 
470 
474  void set_labels(const list<string> &labels) { _labels = labels; }
475 
478 
482  void add_label(const string &label) { _labels.push_back(label); }
483 
486 
490  list<string> get_labels() const { return _labels; }
491 
494 
498  void set_goodsAndServices(const string &goodsAndServices)
499  {
500  _goodsAndServices = goodsAndServices;
501  }
502 
505 
509  string get_goodsAndServices() const { return _goodsAndServices; }
510 
513 
517  void set_apId(const string &apId) { _apId = apId; }
518 
521 
525  string get_apId() const { return _apId; }
526 
528 
531  void set_apDate(const string &apDate) { _apDate = apDate; }
532 
534 
537  string get_apDate() const { return _apDate; }
538 
541 
545  void set_regNum(const string &regNum) { _regNum = regNum; }
546 
549 
553  string get_regNum() const { return _regNum; }
554 
556 
559  void set_regDate(const string &regDate) { _regDate = regDate; }
560 
562 
565  string get_regDate() const { return _regDate; }
566 
568 
571  void set_exDate(const string &exDate) { _exDate = exDate; }
572 
574 
577  string get_exDate() const { return _exDate; }
578 
580  void reset()
581  {
582  _id.clear();
583  _markName.clear();
584  _holders.clear();
585  _contacts.clear();
586  _jurisdiction.clear();
587  _classes.clear();
588  _labels.clear();
589  _goodsAndServices.clear();
590  _apId.clear();
591  _apDate.clear();
592  _regNum.clear();
593  _regDate.clear();
594  _exDate.clear();
595  }
596 
597 private:
599  string _id;
600 
602  string _markName;
603 
605  list<pair<SMDHolder::Type::Value, SMDHolder> > _holders;
606 
608  map<SMDContact::Type::Value, SMDContact> _contacts;
609 
612  string _jurisdiction;
613 
617  list<string> _classes;
618 
620  list<string> _labels;
621 
624  string _goodsAndServices;
625 
627  string _apId;
628 
630  string _apDate;
631 
633  string _regNum;
634 
636  string _regDate;
637 
639  string _exDate;
640 };
641 
644 {
645 public:
648  {
649  reset();
650  }
651 
654 
658  void set_cc(const string &cc) { _cc = cc; }
659 
662 
666  string get_cc() const { return _cc; }
667 
670 
674  void set_region(const string &region) { _region = region; }
675 
678 
682  string get_region() const { return _region; }
683 
685 
688  void set_rulings(const list<string> &rulings) { _rulings = rulings; }
689 
691 
694  void add_ruling(const string &ruling) { _rulings.push_back(ruling); }
695 
697 
700  list<string> get_rulings() const { return _rulings; }
701 
703  void reset()
704  {
705  _cc.clear();
706  _region.clear();
707  _rulings.clear();
708  }
709 
710 private:
712  string _cc;
713 
716  string _region;
717 
719  list<string> _rulings;
720 };
721 
724 {
725 public:
728  {
729  reset();
730  }
731 
733 
736  void set_id(const string &id) { _id = id; }
737 
739 
742  string get_id() const { return _id; }
743 
745 
748  void set_markName(const string &markName) { _markName = markName; }
749 
751 
754  string get_markName() const { return _markName; }
755 
757 
760  void set_holders(const list<pair<SMDHolder::Type::Value, SMDHolder> > &holders)
761  {
762  _holders = holders;
763  }
764 
766 
770  void add_holder(const SMDHolder::Type::Value type, const SMDHolder &holder)
771  {
772  _holders.push_back(make_pair(type, holder));
773  }
774 
776 
779  list<pair<SMDHolder::Type::Value, SMDHolder> > get_holders() const { return _holders; }
780 
783 
787  void set_contacts(const map<SMDContact::Type::Value, SMDContact> &contacts)
788  {
789  _contacts = contacts;
790  }
791 
793 
797  void add_contact(const SMDContact::Type::Value type, const SMDContact &contact)
798  {
799  _contacts[type] = contact;
800  }
801 
804 
808  map<SMDContact::Type::Value, SMDContact> get_contacts() const { return _contacts; }
809 
812 
816  void set_protections(const list<SMDProtection> &protections)
817  {
818  _protections = protections;
819  }
820 
823 
827  void add_protection(const SMDProtection &protection)
828  {
829  _protections.push_back(protection);
830  }
831 
834 
838  list<SMDProtection> get_protections() const { return _protections; }
839 
842 
846  void set_labels(const list<string> &labels) { _labels = labels; }
847 
850 
854  void add_label(const string &label) { _labels.push_back(label); }
855 
858 
862  list<string> get_labels() const { return _labels; }
863 
866 
870  void set_goodsAndServices(const string &goodsAndServices)
871  {
872  _goodsAndServices = goodsAndServices;
873  }
874 
877 
881  string get_goodsAndServices() const { return _goodsAndServices; }
882 
884 
887  void set_refNum(const string &refNum) { _refNum = refNum; }
888 
890 
893  string get_refNum() const { return _refNum; }
894 
896 
899  void set_proDate(const string &proDate) { _proDate = proDate; }
900 
902 
905  string get_proDate() const { return _proDate; }
906 
908 
911  void set_title(const string &title) { _title = title; }
912 
914 
917  string get_title() const { return _title; }
918 
920 
923  void set_execDate(const string &execDate) { _execDate = execDate; }
924 
926 
929  string get_execDate() const { return _execDate; }
930 
932  void reset()
933  {
934  _id.clear();
935  _markName.clear();
936  _holders.clear();
937  _contacts.clear();
938  _protections.clear();
939  _labels.clear();
940  _goodsAndServices.clear();
941  _refNum.clear();
942  _proDate.clear();
943  _title.clear();
944  _execDate.clear();
945  }
946 
947 private:
949  string _id;
950 
952  string _markName;
953 
955  list<pair<SMDHolder::Type::Value, SMDHolder> > _holders;
956 
958  map<SMDContact::Type::Value, SMDContact> _contacts;
959 
961  list<SMDProtection> _protections;
962 
964  list<string> _labels;
965 
968  string _goodsAndServices;
969 
971  string _refNum;
972 
974  string _proDate;
975 
977  string _title;
978 
980  string _execDate;
981 };
982 
984 class SMDCourt
985 {
986 public:
989  {
990  reset();
991  }
992 
994 
997  void set_id(const string &id) { _id = id; }
998 
1000 
1003  string get_id() const { return _id; }
1004 
1006 
1009  void set_markName(const string &markName) { _markName = markName; }
1010 
1012 
1015  string get_markName() const { return _markName; }
1016 
1018 
1021  void set_holders(const list<pair<SMDHolder::Type::Value, SMDHolder> > &holders)
1022  {
1023  _holders = holders;
1024  }
1025 
1027 
1031  void add_holder(const SMDHolder::Type::Value type, const SMDHolder &holder)
1032  {
1033  _holders.push_back(make_pair(type, holder));
1034  }
1035 
1037 
1040  list<pair<SMDHolder::Type::Value, SMDHolder> > get_holders() const { return _holders; }
1041 
1044 
1048  void set_contacts(const map<SMDContact::Type::Value, SMDContact> &contacts)
1049  {
1050  _contacts = contacts;
1051  }
1052 
1054 
1058  void add_contact(const SMDContact::Type::Value type, const SMDContact &contact)
1059  {
1060  _contacts[type] = contact;
1061  }
1062 
1065 
1069  map<SMDContact::Type::Value, SMDContact> get_contacts() const { return _contacts; }
1070 
1073 
1077  void set_labels(const list<string> &labels) { _labels = labels; }
1078 
1081 
1085  void add_label(const string &label) { _labels.push_back(label); }
1086 
1089 
1093  list<string> get_labels() const { return _labels; }
1094 
1097 
1101  void set_goodsAndServices(const string &goodsAndServices)
1102  {
1103  _goodsAndServices = goodsAndServices;
1104  }
1105 
1108 
1112  string get_goodsAndServices() const { return _goodsAndServices; }
1113 
1115 
1118  void set_refNum(const string &refNum) { _refNum = refNum; }
1119 
1121 
1124  string get_refNum() const { return _refNum; }
1125 
1127 
1130  void set_proDate(const string &proDate) { _proDate = proDate; }
1131 
1133 
1136  string get_proDate() const { return _proDate; }
1137 
1140 
1144  void set_cc(const string &cc) { _cc = cc; }
1145 
1148 
1152  string get_cc() const { return _cc; }
1153 
1156 
1160  void set_regions(const list<string> &regions) { _regions = regions; }
1161 
1164 
1168  void add_region(const string &region) { _regions.push_back(region); }
1169 
1172 
1176  list<string> get_regions() const { return _regions; }
1177 
1179 
1182  void set_courtName(const string &courtName) { _courtName = courtName; }
1183 
1185 
1188  string get_courtName() const { return _courtName; }
1189 
1191  void reset()
1192  {
1193  _id.clear();
1194  _markName.clear();
1195  _holders.clear();
1196  _contacts.clear();
1197  _labels.clear();
1198  _goodsAndServices.clear();
1199  _refNum.clear();
1200  _proDate.clear();
1201  _cc.clear();
1202  _regions.clear();
1203  _courtName.clear();
1204  }
1205 
1206 private:
1208  string _id;
1209 
1211  string _markName;
1212 
1214  list<pair<SMDHolder::Type::Value, SMDHolder> > _holders;
1215 
1217  map<SMDContact::Type::Value, SMDContact> _contacts;
1218 
1220  list<string> _labels;
1221 
1224  string _goodsAndServices;
1225 
1227  string _refNum;
1228 
1230  string _proDate;
1231 
1233  string _cc;
1234 
1237  list<string> _regions;
1238 
1240  string _courtName;
1241 };
1242 
1244 class SMDMark
1245 {
1246 public:
1249  {
1250  reset();
1251  }
1252 
1254 
1257  void set_trademarks(const list<SMDTrademark> &trademarks) { _trademarks = trademarks; }
1258 
1260 
1263  void add_trademark(const SMDTrademark &trademark) { _trademarks.push_back(trademark); }
1264 
1266 
1269  list<SMDTrademark> get_trademarks() const { return _trademarks; }
1270 
1272 
1275  void set_treatyOrStatutes(const list<SMDTreatyOrStatute> &treatyOrStatute)
1276  {
1277  _treatyOrStatutes = treatyOrStatute;
1278  }
1279 
1281 
1284  void add_treatyOrStatute(const SMDTreatyOrStatute &treatyOrStatute)
1285  {
1286  _treatyOrStatutes.push_back(treatyOrStatute);
1287  }
1288 
1290 
1293  list<SMDTreatyOrStatute> get_treatyOrStatutes() const { return _treatyOrStatutes; }
1294 
1296 
1299  void set_court(const list<SMDCourt> &court) { _court = court; }
1300 
1302 
1305  void add_court(const SMDCourt &court) { _court.push_back(court); }
1306 
1308 
1311  list<SMDCourt> get_court() const { return _court; }
1312 
1314  void reset()
1315  {
1316  _trademarks.clear();
1317  _treatyOrStatutes.clear();
1318  _court.clear();
1319  }
1320 
1321  bool is_empty() const
1322  {
1323  return _trademarks.empty() && _treatyOrStatutes.empty() && _court.empty();
1324  }
1325 
1326 private:
1328  list<SMDTrademark> _trademarks;
1329 
1331  list<SMDTreatyOrStatute> _treatyOrStatutes;
1332 
1334  list<SMDCourt> _court;
1335 };
1336 
1339 {
1340 public:
1343  {
1344  reset();
1345  }
1346 
1348 
1351  void set_id(const string &id) { _id = id; }
1352 
1354 
1357  string get_id() const { return _id; }
1358 
1360 
1363  void set_org(const string &org) { _org = org; }
1364 
1366 
1369  string get_org() const { return _org; }
1370 
1372 
1375  void set_email(const string &email) { _email = email; }
1376 
1378 
1381  string get_email() const { return _email; }
1382 
1384 
1387  void set_url(const string &url) { _url = url; }
1388 
1390 
1393  string get_url() const { return _url; }
1394 
1396 
1399  void set_voice(const string &voice) { _voice = voice; }
1400 
1402 
1405  string get_voice() const { return _voice; }
1406 
1408  void reset()
1409  {
1410  _id.clear();
1411  _org.clear();
1412  _email.clear();
1413  _url.clear();
1414  _voice.clear();
1415  }
1416 
1417 private:
1419  string _id;
1420 
1422  string _org;
1423 
1425  string _email;
1426 
1428  string _url;
1429 
1431  string _voice;
1432 };
1433 
1435 class SMD
1436 {
1437 public:
1440  {
1441  reset();
1442  }
1443 
1447 
1452  void set_id(const string &id) { _id = id; }
1453 
1457 
1462  string get_id() const { return _id; }
1463 
1465 
1468  void set_issuerInfo(const SMDIssuerInfo &issuerInfo) { _issuerInfo = issuerInfo; }
1469 
1471 
1474  SMDIssuerInfo get_issuerInfo() const { return _issuerInfo; }
1475 
1477 
1480  void set_notBefore(const string &notBefore) { _notBefore = notBefore; }
1481 
1483 
1486  string get_notBefore() const { return _notBefore; }
1487 
1489 
1492  void set_notAfter(const string &notAfter) { _notAfter = notAfter; }
1493 
1495 
1498  string get_notAfter() const { return _notAfter; }
1499 
1501 
1504  void set_mark(const SMDMark &mark) { _mark = mark; }
1505 
1507 
1510  SMDMark get_mark() const { return _mark; }
1511 
1513 
1516  void set_signature(const string &signature) { _signature = signature; }
1517 
1519 
1522  string get_signature() const { return _signature; }
1523 
1525  void reset()
1526  {
1527  _id.clear();
1528  _issuerInfo.reset();
1529  _notBefore.clear();
1530  _notAfter.clear();
1531  _mark.reset();
1532  _signature.clear();
1533  }
1534 
1535 private:
1538  string _id;
1539 
1541  SMDIssuerInfo _issuerInfo;
1542 
1544  string _notBefore;
1545 
1547  string _notAfter;
1548 
1550  SMDMark _mark;
1551 
1553  string _signature;
1554 };
1555 
1556 LIBEPP_NICBR_NS_END
1557 
1558 #endif // __SMD_H__
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
void set_fax(const string &fax)
Sets the contact's facsimile telephone number.
Definition: SMD.H:299
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
void set_name(const string &name)
Sets the name of the responsible person.
Definition: SMD.H:251
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 SMDContact::Type Class.
Definition: SMD.H:192
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
EPP CommonData Class.
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 reset()
Reset object attributes.
Definition: SMD.H:320
void set_id(const string &id)
Sets the identifier of the mark.
Definition: SMD.H:736
string get_voice() const
Returns the contact's voice telephone number.
Definition: SMD.H:293
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
EPP SMDContact Class.
Definition: SMD.H:188
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
static string toStr(const Value type)
Convert type into text.
Definition: SMD.H:208
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
SMDContact()
Default constructor.
Definition: SMD.H:242
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
string get_fax() const
Returns the contact's facsimile telephone number.
Definition: SMD.H:305
void set_refNum(const string &refNum)
Sets the reference number of the court's opinion.
Definition: SMD.H:1118
void set_org(const string &org)
Sets the name of the organization of the contact.
Definition: SMD.H:263
string get_org() const
Sets the name of the organization of the contact.
Definition: SMD.H:269
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 &region)
Definition: SMD.H:1168
void set_issuerInfo(const SMDIssuerInfo &issuerInfo)
Sets the information of the issuer of the mark registration.
Definition: SMD.H:1468
void set_voice(const string &voice)
Sets the contact's voice telephone number.
Definition: SMD.H:287
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
string get_email() const
Returns the contact's email address.
Definition: SMD.H:317
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
PostalInfo get_postalInfo() const
Returns the address information of the contact.
Definition: SMD.H:281
void set_postalInfo(const PostalInfo &postalInfo)
Sets the address information of the contact.
Definition: SMD.H:275
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
Value
Possible types of contacts.
Definition: SMD.H:196
list< SMDTrademark > get_trademarks() const
Returns the list of trademarks.
Definition: SMD.H:1269
void set_regNum(const string &regNum)
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 > &regions)
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
void set_email(const string &email)
Sets the contact's email address.
Definition: SMD.H:311
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 &region)
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 &notBefore)
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
string get_name() const
Returns the name of the responsible person.
Definition: SMD.H:257
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
static Value fromStr(const string typeStr)
Convert a text into enum.
Definition: SMD.H:228
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 &regDate)
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 &notAfter)
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