2 * Copyright (c) 2013, TOYOTA MOTOR CORPORATION.
4 * This program is licensed under the terms and conditions of the
5 * Apache License, version 2.0. The full text of the Apache License is at
6 * http://www.apache.org/licenses/LICENSE-2.0
10 //==========================================================================
12 * @file CicoHSCmdOpts.h
14 * @brief This file is definition of CicoHSCmdOpts class
16 //==========================================================================
17 #ifndef __CICO_HS_CMD_OPTS_H__
18 #define __CICO_HS_CMD_OPTS_H__
22 //==========================================================================
24 * @brief This class hold command options
26 //==========================================================================
30 // get this class instance
31 static CicoHSCmdOpts* getInstance(void);
33 // perse command options
34 void parse(int argc, char *argv[]);
36 // get login user name
37 const std::string & getLoginUser(void);
39 // get application history file path
40 const std::string & getHistoryFilePath(void);
42 /// get application default history file path
43 const std::string & getDefaultHistoryFilePath(void);
45 /// get application history file flag
46 const std::string & getFlagPath(void);
49 // default constructor
55 /// assignment operator
56 CicoHSCmdOpts& operator=(const CicoHSCmdOpts &object);
59 CicoHSCmdOpts(const CicoHSCmdOpts &object);
62 /// this class instance
63 static CicoHSCmdOpts* ms_myInstance;
66 std::string m_loginUser;
67 /// application history file path
68 std::string m_historyFilePath;
69 /// application default history file path
70 std::string m_defaultHistoryFilePath;
71 /// application history file flag
72 std::string m_flagPath;
74 #endif // __CICO_HS_CMD_OPTS_H__
75 // vim:set expandtab ts=4 sw=4: