42 std::string::size_type idx2 =
fullName.find(
":/");
43 if (idx2 != std::string::npos) {
49 std::string::size_type idx =
fullName.find(
'~');
50 if (idx != std::string::npos) {
57 if (idx != std::string::npos) {
63 if (ch ==
'-' || ch ==
'+' || ch ==
'1') {
70 if (ch0 ==
'-' || ch0 ==
'+') {
85 if (idx != std::string::npos) {
89 if (idx != std::string::npos) {
99 if (idx != std::string::npos) {
103 if (ch ==
'-' || ch ==
'+') {
113 NestedContact::NestedContact() :
125 mPriv(new
Private(*(rhs.mPriv)))
143 *mPriv = *(rhs.mPriv);
151 std::swap(mPriv, rhs.mPriv);
158 auto ret = mPriv->fromString(fullName);
166 mPriv->wireType = nWireType;
171 mPriv->category =
"+";
176 mPriv->category =
"-";
181 return mPriv->fullName;
186 return mPriv->nodeName;
191 return mPriv->nestedName;
196 return mPriv->category;
201 return mPriv->wireType;
206 return (!mPriv->wireType.empty()) ? mPriv->wireType :
"*";
211 return !mPriv->nestedName.empty();
216 return mPriv->nestedName + mPriv->category +
"@" + mPriv->nodeName;