13 Names::Names() : _languageCode (
"en_US") {
19 : _languageCode (iLanguageCode) {
23 Names::Names (
const Names& iName)
24 : _languageCode (iName._languageCode),
25 _nameList (iName._nameList) {
34 if (_nameList.empty() ==
true) {
37 NameList_T::const_iterator itName = _nameList.begin();
38 assert (itName != _nameList.end());
39 const std::string& lName = *itName;
45 std::ostringstream oStr;
52 std::ostringstream oStr;
59 unsigned short idx = 0;
60 for (NameList_T::const_iterator itName = _nameList.begin();
61 itName != _nameList.end(); ++itName, ++idx) {
65 const std::string& lName = *itName;
66 oStr << _languageCode <<
"," << lName;
83 std::ostringstream oStr;
90 _nameList.push_back (iName);
std::string toString() const
void fromStream(std::istream &ioIn)
void addName(const std::string &iName)
std::string getFirstName() const
std::string describe() const
void toStream(std::ostream &ioOut) const
std::string describeKey() const