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