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

Public Member Functions

 AssetAnno4cpp (jnipp::Ref< jnipp::eu::mico::platform::anno4j::model::AssetMMM > assetMMM, PersistenceService &persistenceService)
 
mico::persistence::model::URI getLocation ()
 getLocation Retrieves the storage location of this asset (should be suffixed by .bin) More...
 
mico::persistence::model::URI getURI ()
 getURI Retrieves the unique identifcation URI for this asset More...
 
std::string getFormat ()
 
void setFormat (std::string format)
 
std::ostream * getOutputStream ()
 Return a new output stream for writing to the content. More...
 
std::istream * getInputStream ()
 Return a new input stream for reading the content. More...
 

Member Function Documentation

std::istream* mico::persistence::model::AssetAnno4cpp::getInputStream ( )
inlinevirtual

Return a new input stream for reading the content.

Returns

Implements mico::persistence::model::Asset.

mico::persistence::model::URI mico::persistence::model::AssetAnno4cpp::getLocation ( )
inlinevirtual

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

Returns

Implements mico::persistence::model::Asset.

std::ostream* mico::persistence::model::AssetAnno4cpp::getOutputStream ( )
inlinevirtual

Return a new output stream for writing to the content.

Any existing content will be overwritten.

Returns

Implements mico::persistence::model::Asset.

mico::persistence::model::URI mico::persistence::model::AssetAnno4cpp::getURI ( )
inlinevirtual

getURI Retrieves the unique identifcation URI for this asset

Returns
the identification URI

Implements mico::persistence::model::Asset.


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