fw4spl
fwDataCamp Namespace Reference

This namespace contains data object descriptions used for introspection. More...

Namespaces

 exception
 This namespace contains exceptions related to data objects introspection.
 
 visitor
 This namespace contains visitors used to perform various operations with data objects.
 

Classes

struct  runner
 
struct  Version
 Class to manage fwDataCamp version. More...
 

Functions

FWDATACAMP_API std::shared_ptr< ::fwData::ObjectgetObject (std::shared_ptr< const ::fwData::Object > object, const std::string &path, bool raiseException=false)
 Returns the object designated by the given path within given object. More...
 
::fwData::Object::sptr getObject (::fwData::Object::csptr object, const std::string &path, bool raiseException)
 

Detailed Description

This namespace contains data object descriptions used for introspection.

Date
2012-2015.

Function Documentation

std::shared_ptr< DATATYPE > fwDataCamp::getObject ( std::shared_ptr< const ::fwData::Object object,
const std::string &  path,
bool  raiseException = false 
)

Returns the object designated by the given path within given object.

Parameters
objectobject to visit
pathpath of desired object
raiseExceptionraise exceptions if set to true
Exceptions
fwDataCamp::exception::NullPointer
fwDataCamp::exception::ObjectNotFound
See also
fwDataCamp.getObject

Definition at line 43 of file getObject.hpp.

References getObject(), and SPTR.

Referenced by getObject().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: