# Class FileProvider

Class FileProvider

This is the Factory for Files, whenever something wants to use some file (or temporary storage), This Factory will hand out some smart/shared pointer to a File object which will be used to retrieve Frames.

Declaration :

- C++ : class FileProvider

Relation files (<aggregation>)

Declaration :

- Uml : # files : File, multiplicity : *
- C++ : protected: File * files

Operation useFile

Announces that the application intends to use this file with mode (READ|WRITE|READWRITE)

Declaration :

- Uml : + useFile(in name : string, in mode : ) : FileReference
- C++ : public: FileReference useFile()

Operation useTemporaryStorage

Provides a pool for interminate frames

Declaration :

- Uml : + useTemporaryStorage(in type : FrameDescriptor) : FileReference
- C++ : public: FileReference useTemporaryStorage()

All public operations : useFile , useTemporaryStorage