mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-13 15:57:14 +02: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 |