31 if (myrSolid->
size() != 1)
33 std::cout <<
"WARNING: A ReflectionSolid had more than one rSolid. "
34 <<
"The first one was used." << std::endl;
DDLElementRegistry * myRegistry_
type of data representation of DDCompactView
DDLReflectionSolid(DDLElementRegistry *myreg)
A DDSolid represents the shape of a part.
DDXMLElement * getElement(const std::string &name)
THE most important part. Getting the pointer to a given element type.
virtual size_t size(void) const
Number of elements accumulated.
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Called by loadAttributes AFTER attributes are loaded.
DDLSolid processes Box elements.
This is a base class for processing XML elements in the DDD.
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
static DDSolid reflection(const DDName &name, const DDSolid &s)
The main class for processing parsed elements.
virtual void clear(void)
clear this element's contents.
virtual const DDName getDDName(const std::string &defaultNS, const std::string &attname=std::string("name"), size_t aIndex=0)
void setReference(const std::string &nmspace, DDCompactView &cpv)