SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
proxy_attribute_name.h
Go to the documentation of this file.
1/*
2 © 2019 Intel Corporation
3
4 This software and the related documents are Intel copyrighted materials, and
5 your use of them is governed by the express license under which they were
6 provided to you ("License"). Unless the License provides otherwise, you may
7 not use, modify, copy, publish, distribute, disclose or transmit this software
8 or the related documents without Intel's prior written permission.
9
10 This software and the related documents are provided as is, with no express or
11 implied warranties, other than those that are expressly stated in the License.
12*/
13
14#ifndef SIMICS_SYSTEMC_AWARENESS_PROXY_ATTRIBUTE_NAME_H
15#define SIMICS_SYSTEMC_AWARENESS_PROXY_ATTRIBUTE_NAME_H
16
17#include <systemc>
18
19#include <sstream>
20#include <string>
21
22namespace simics {
23namespace systemc {
24namespace awareness {
25
30class ProxyAttributeName : public std::string {
31 public:
33 explicit ProxyAttributeName(std::string attribute_name);
35
36 protected:
37 void init(const std::string &name);
38 bool drop(int *c);
39 bool next(int *c);
40 bool error(int *c);
41 bool letter(int c);
42 bool digit(int c);
43
44 std::ostringstream os_;
45 std::string::const_iterator it_;
46 std::string::const_iterator it_end_;
50
51 private:
52 void name();
53};
54
55} // namespace awareness
56} // namespace systemc
57} // namespace simics
58
59#endif
Definition: proxy_attribute_name.h:30
bool skip_error_header_
Definition: proxy_attribute_name.h:47
std::string::const_iterator it_
Definition: proxy_attribute_name.h:45
ProxyAttributeName(std::string attribute_name)
bool transformed_
Definition: proxy_attribute_name.h:49
std::string::const_iterator it_end_
Definition: proxy_attribute_name.h:46
bool error_occurred_
Definition: proxy_attribute_name.h:48
std::ostringstream os_
Definition: proxy_attribute_name.h:44
Definition: adapter.h:79