14 #ifndef __vtkPersonInformation_h 15 #define __vtkPersonInformation_h 19 #include <vtkObject.h> 20 #include <vtkStringArray.h> 29 virtual void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
34 virtual bool SetName(
const std::string& value);
35 virtual std::string GetName();
37 virtual bool SetLogin(
const std::string& value);
38 virtual std::string GetLogin();
40 virtual bool SetEmail(
const std::string& value);
41 virtual std::string GetEmail();
43 virtual bool SetOrganization(
const std::string& value);
44 virtual std::string GetOrganization();
46 virtual bool SetOrganizationRole(
const std::string& value);
47 virtual std::string GetOrganizationRole();
49 virtual bool SetProcedureRole(
const std::string& value);
50 virtual std::string GetProcedureRole();
61 virtual void SetCustomString(
const std::string& key,
const std::string& value);
67 virtual std::string GetCustomString(
const std::string& key);
69 virtual bool IsEmailValid(
const std::string& value);
73 static const char*
KeyName() {
return "Name"; };
74 static const char*
KeyLogin() {
return "Login"; };
75 static const char*
KeyEmail() {
return "Email"; };
82 virtual std::string GetAsString();
87 virtual bool SetFromString(
const std::string& data);
91 virtual void GetKeys(vtkStringArray *keys);
97 std::string EncodeString(
const std::string& value);
98 std::string DecodeString(
const std::string& value);
100 std::map<std::string, std::string>
Data;