MICO Platform
 All Classes Namespaces Functions Variables Friends
Public Member Functions | List of all members
mico::persistence::model::Asset Class Referenceabstract
Inheritance diagram for mico::persistence::model::Asset:
mico::persistence::model::AssetAnno4cpp

Public Member Functions

virtual
mico::persistence::model::URI 
getLocation ()=0
 getLocation Retrieves the storage location of this asset (should be suffixed by .bin) More...
 
virtual
mico::persistence::model::URI 
getURI ()=0
 getURI Retrieves the unique identifcation URI for this asset More...
 
virtual std::string getFormat ()=0
 
virtual void setFormat (std::string format)=0
 
virtual std::ostream * getOutputStream ()=0
 Return a new output stream for writing to the content. More...
 
virtual std::istream * getInputStream ()=0
 Return a new input stream for reading the content. More...
 

Member Function Documentation

virtual std::istream* mico::persistence::model::Asset::getInputStream ( )
pure virtual

Return a new input stream for reading the content.

Returns

Implemented in mico::persistence::model::AssetAnno4cpp.

virtual mico::persistence::model::URI mico::persistence::model::Asset::getLocation ( )
pure virtual

getLocation Retrieves the storage location of this asset (should be suffixed by .bin)

Returns

Implemented in mico::persistence::model::AssetAnno4cpp.

virtual std::ostream* mico::persistence::model::Asset::getOutputStream ( )
pure virtual

Return a new output stream for writing to the content.

Any existing content will be overwritten.

Returns

Implemented in mico::persistence::model::AssetAnno4cpp.

virtual mico::persistence::model::URI mico::persistence::model::Asset::getURI ( )
pure virtual

getURI Retrieves the unique identifcation URI for this asset

Returns
the identification URI

Implemented in mico::persistence::model::AssetAnno4cpp.


The documentation for this class was generated from the following file: