43 const std::string &attrStrVal)
45 if (attrStrVal.empty()) {
49 auto posComma = attrStrVal.find(
',');
50 if (posComma == std::string::npos) {
52 <<
"expected two coordinate dimensions but found only one in " << attrStrVal;
55 if (attrStrVal.find(
',', posComma + 1) != std::string::npos) {
57 <<
"found more than the expected two coordinate dimensions in " << attrStrVal;
#define R__ERROR_HERE(GROUP)
void SetFromAttrString(const std::string &name, const std::string &attrStrVal)
Initialize a RPadLength from a style string.
void InitializeAttrFromString(const std::string &name, const std::string &attrStrVal, RPadExtent &val)
Initialize a RPadExtent from a style string.
void SetFromAttrString(const std::string &name, const std::string &attrStrVal)
Initialize a RPadHorizVert from a style string.
RPadLength fHoriz
Horizontal position.
RPadLength fVert
Vertical position.
An extent / size (horizontal and vertical) in a RPad.