mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-02-01 05:04:58 +01:00
36 lines
551 B
Plaintext
36 lines
551 B
Plaintext
@startuml ClassDiagram
|
|
abstract class FileFactory{
|
|
{static} +getFactory(path):FileFactory
|
|
{abstract} +loadFile(path):File
|
|
}
|
|
class JsonFileFactory{
|
|
+loadFile(path):JsonFile
|
|
}
|
|
class RawFileFactory{
|
|
+loadFile(path):RawFile
|
|
}
|
|
class NumpyFileFactory{
|
|
+loadFile(path):NumpyFile
|
|
}
|
|
|
|
abstract File{
|
|
}
|
|
|
|
class JsonFile{
|
|
}
|
|
class RawFile{
|
|
}
|
|
class NumpyFile{
|
|
}
|
|
|
|
FileFactory <|-- RawFileFactory
|
|
FileFactory <|-- NumpyFileFactory
|
|
FileFactory <|-- JsonFileFactory
|
|
|
|
File <|-- JsonFile
|
|
File <|-- RawFile
|
|
File <|-- NumpyFile
|
|
|
|
FileFactory ..> File
|
|
|
|
@enduml |