CBMC
identifier.h
Go to the documentation of this file.
1
/*******************************************************************\
2
3
Module:
4
5
Author: Daniel Kroening, kroening@kroening.com
6
7
\*******************************************************************/
8
9
10
#ifndef CPROVER_UTIL_IDENTIFIER_H
11
#define CPROVER_UTIL_IDENTIFIER_H
12
13
#include <string>
14
#include <vector>
15
16
#define ID_SEPARATOR "::"
17
18
class
identifiert
19
{
20
public
:
21
explicit
identifiert
(
const
std::string &s)
22
{
parse
(s); }
23
24
identifiert
()
25
{ }
26
27
std::string
as_string
()
const
;
28
29
typedef
std::vector<std::string>
componentst
;
30
componentst
components
;
31
32
protected
:
33
void
parse
(
const
std::string &s);
34
};
35
36
#endif // CPROVER_UTIL_IDENTIFIER_H
identifiert::components
componentst components
Definition:
identifier.h:30
identifiert::identifiert
identifiert(const std::string &s)
Definition:
identifier.h:21
identifiert
Definition:
identifier.h:18
identifiert::as_string
std::string as_string() const
Definition:
identifier.cpp:13
identifiert::identifiert
identifiert()
Definition:
identifier.h:24
identifiert::parse
void parse(const std::string &s)
Definition:
identifier.cpp:28
identifiert::componentst
std::vector< std::string > componentst
Definition:
identifier.h:29
src
util
identifier.h
Generated by
1.8.17