src/object.cpp
/*!
 * \fn Value get(const std::string & attrName) const
 * \brief returns the data-member with the given name
 *
 * If no such data member exists, this returns a default constructed \t Value.
 */
\fn Value get(const std::string & attrName) const
\brief returns the data-member with the given name

If no such data member exists, this returns a default constructed \t Value.
\ fn Value get ( const std :: string & attrName ) const \ brief returns the data - member with the given name If no such data member exists this returns a default constructed \ t Value .
Value Object::get(const std::string & attrName) const
{
  Class c = instanceOf();
  int index = c.attributeIndex(attrName);
  if (index < 0)
    return Value{};
  return at(index);
}
Value Object :: get ( const std :: string & attrName ) const { Class c = instanceOf ( ) ; int index = c . attributeIndex ( attrName ) ; if ( index < 0 ) return Value { } ; return at ( index ) ; }
\fn Value get(const std::string & attrName) const
 \brief returns the data-member with the given name
\ fn Value get ( const std :: string & attrName ) const \ brief returns the data - member with the given name