14 #include <sbml/packages/render/sbml/Image.h>
47 mWidth(source.mWidth),
48 mHeight(source.mHeight),
64 mWidth(source.getWidth()),
65 mHeight(source.getHeight()),
66 mHRef(source.getImageReference()),
224 std::string space =
" \t\n\r";
226 return (!this->
mHRef.empty() && (this->
mHRef.find_first_not_of(space) != std::string::npos));
242 Image* pImg =
new Image(level, version);
244 RelAbsVector* pV = this->
mX.
toSBML();
257 pImg->setHeight(*pV);
259 pImg->setImageReference(this->
mHRef);
bool remove(const std::string &key)
const std::string & getKey() const
CLImage(CCopasiContainer *pParent=NULL)
const CLRelAbsVector & getHeight() const
void setZ(const CLRelAbsVector &coord)
const std::string & getImageReference() const
void setImageReference(const std::string &ref)
RelAbsVector * toSBML() const
void setY(const CLRelAbsVector &coord)
void setWidth(const CLRelAbsVector &width)
Image * toSBML(unsigned int level, unsigned int version) const
std::string add(const std::string &prefix, CCopasiObject *pObject)
const CLRelAbsVector & getWidth() const
void setX(const CLRelAbsVector &coord)
static CKeyFactory * getKeyFactory()
bool isSetImageReference() const
void setCoordinates(const CLRelAbsVector &x, const CLRelAbsVector &y, const CLRelAbsVector &z=CLRelAbsVector(0.0, 0.0))
void setHeight(const CLRelAbsVector &height)
void setDimensions(const CLRelAbsVector &width, const CLRelAbsVector &height)