Added parser class
This commit is contained in:
parent
86531035a8
commit
53a83308de
6 changed files with 105 additions and 17 deletions
17
diagram.puml
17
diagram.puml
|
|
@ -69,6 +69,22 @@ class Commandes {
|
|||
+ USERNAME() : void
|
||||
}
|
||||
|
||||
' ========================
|
||||
' CLASS: Parser
|
||||
' ========================
|
||||
class Parser {
|
||||
- _port : int
|
||||
- _password : string
|
||||
- _valid : bool
|
||||
- _errorMsg : string
|
||||
|
||||
+ Parser(argc : int, argv : char**)
|
||||
+ isValid() : bool
|
||||
+ getPort() : int
|
||||
+ getPassword() : string
|
||||
+ getErrorMsg() : string
|
||||
}
|
||||
|
||||
' ========================
|
||||
' RELATIONS
|
||||
' ========================
|
||||
|
|
@ -77,5 +93,6 @@ Server "1" o-- "*" Client : _clients
|
|||
Client "1" o-- "*" Channel : _channels
|
||||
Channel "1" *-- "1" Client : _owner
|
||||
Channel "1" o-- "*" Client : _operators
|
||||
main ..> Parser : uses
|
||||
|
||||
@enduml
|
||||
Loading…
Add table
Add a link
Reference in a new issue