00001
00002 #include "xmlUtil/id/Identifier.h"
00003
00004 #include <iterator>
00005
00006 namespace xmlUtil {
00007
00008
00009
00010 Identifier::Identifier() {
00011 std::vector<unsigned int>();
00012 }
00013 Identifier::Identifier(unsigned n) :
00014 std::vector<unsigned int>(n) {
00015 }
00016 Identifier::Identifier(const Identifier& toCopy) :
00017 std::vector<unsigned int>(toCopy) {
00018 }
00019 void Identifier::append(const Identifier& toAppend) {
00020 std::copy(toAppend.begin(), toAppend.end(), std::back_inserter(*this));
00021 }
00022 }