CASM
1.1.0
A Clusters Approach to Statistical Mechanics
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Variables
Typedefs
_
a
b
c
d
e
f
g
i
l
m
o
p
r
s
t
u
v
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
Enumerations
Enumerator
a
b
c
d
e
f
h
i
n
o
p
q
r
s
v
Related Functions
Files
File List
File Members
All
a
b
c
d
e
h
i
j
l
m
o
p
q
r
s
t
v
Functions
c
m
o
q
Variables
Typedefs
Macros
a
c
e
h
i
t
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
CLIParse.hh
Go to the documentation of this file.
1
#ifndef CASM_CLIParse
2
#define CASM_CLIParse
3
4
#include <wordexp.h>
5
6
#include <string>
7
8
namespace
CASM
{
9
10
class
CLIParse
{
11
public
:
13
CLIParse
(
int
_argc,
char
**_argv);
14
16
CLIParse
(std::string _args);
17
18
~CLIParse
();
19
20
int
argc
()
const
{
return
m_argc
; }
21
22
char
**
argv
()
const
{
return
m_argv
; }
23
24
int
parse_result
()
const
{
return
m_parse_result
; }
25
26
private
:
27
int
m_argc
;
28
char
**
m_argv
;
29
32
int
m_parse_result
;
33
34
bool
m_free_p
;
35
wordexp_t
m_p
;
36
};
37
38
namespace
Completer {
39
class
OptionHandlerBase
;
40
}
41
44
void
parse_args
(Completer::OptionHandlerBase &opt, std::string args);
45
}
// namespace CASM
46
47
#endif
CASM::CLIParse
Definition:
CLIParse.hh:10
CASM::CLIParse::~CLIParse
~CLIParse()
Definition:
CLIParse.cc:40
CASM::CLIParse::argc
int argc() const
Definition:
CLIParse.hh:20
CASM::CLIParse::m_argc
int m_argc
Definition:
CLIParse.hh:27
CASM::CLIParse::parse_result
int parse_result() const
Definition:
CLIParse.hh:24
CASM::CLIParse::m_argv
char ** m_argv
Definition:
CLIParse.hh:28
CASM::CLIParse::CLIParse
CLIParse(int _argc, char **_argv)
Non-owning.
Definition:
CLIParse.cc:11
CASM::CLIParse::m_parse_result
int m_parse_result
Definition:
CLIParse.hh:32
CASM::CLIParse::argv
char ** argv() const
Definition:
CLIParse.hh:22
CASM::CLIParse::m_free_p
bool m_free_p
Definition:
CLIParse.hh:34
CASM::CLIParse::m_p
wordexp_t m_p
Definition:
CLIParse.hh:35
CASM::Completer::OptionHandlerBase
Definition:
Handlers.hh:229
CASM
Main CASM namespace.
Definition:
APICommand.hh:8
CASM::parse_args
void parse_args(Completer::OptionHandlerBase &opt, std::string args)
Definition:
CLIParse.cc:48
include
casm
app
CLIParse.hh
Generated on Tue Mar 23 2021 14:16:34 for CASM by
1.9.1