|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface to be implemented by AIDA compatible Store. Store is a Proxy that presents data from some resource to a Tree. Store can be associated with only one Tree during its lifetime. This is an interface to a basic Store that can provide data in one piece only, like XML file.
Method Summary | |
void |
close()
Close Store and free all resources associated with it. |
void |
commit(IDevTree tree,
Map options)
Copy data from Tree to the Store. |
boolean |
isReadOnly()
Returns true if the store only supports reading. |
void |
read(IDevTree tree,
Map options,
boolean readOnly,
boolean createNew)
Populate AIDA Tree: create appropriate AIDA objects in the Tree and fill them with data from the Store. |
Method Detail |
public boolean isReadOnly()
public void read(IDevTree tree, Map options, boolean readOnly, boolean createNew) throws IOException
IOException
- If there are problems reading from the Storepublic void commit(IDevTree tree, Map options) throws IOException
IOException
- If there are problems writing to the Store or the Store is Read-Only.public void close() throws IOException
IOException
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |