Searched refs:sc_attribute (Results 1 - 6 of 6) sorted by relevance

/gem5/src/systemc/tests/systemc/kernel/sc_attribute/test01/
H A Dtest01.cpp38 // test of sc_attribute - general test
47 sc_attribute<int> a1( "a1", 42 );
48 sc_attribute<std::string> a2( "a2", "foobar" );
55 sc_attribute<int>* pi = dynamic_cast<sc_attribute<int>*>( p );
59 sc_attribute<std::string>* ps = dynamic_cast<sc_attribute<std::string>*>( p );
/gem5/src/systemc/ext/core/
H A Dsc_attr.hh57 class sc_attribute : public sc_attr_base class in namespace:sc_core
60 sc_attribute(const std::string &_name) : sc_attr_base(_name) {} function in class:sc_core::sc_attribute
61 sc_attribute(const std::string &_name, const T &t) : function in class:sc_core::sc_attribute
64 sc_attribute(const sc_attribute<T> &other) : function in class:sc_core::sc_attribute
67 virtual ~sc_attribute() {}
72 sc_attribute() {} function in class:sc_core::sc_attribute
73 sc_attribute<T> &operator = (const sc_attribute<T> &) { return *this; }
H A D_using.hh36 using sc_core::sc_attribute;
/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_attribute.h22 sc_attribute.h -- Attribute classes.
137 // CLASS : sc_attribute<T>
144 class sc_attribute class in namespace:sc_core
151 sc_attribute( const std::string& name_ ) function in class:sc_core::sc_attribute
155 sc_attribute( const std::string& name_, const T& value_ ) function in class:sc_core::sc_attribute
159 sc_attribute( const sc_attribute<T>& a ) function in class:sc_core::sc_attribute
166 virtual ~sc_attribute()
177 sc_attribute();
178 sc_attribute<
[all...]
/gem5/src/systemc/tests/systemc/kernel/sc_attribute/test02/
H A Dtest02.cpp39 // test of sc_attribute
49 sc_attribute<std::string> a1( "a1", "clock" );
50 sc_attribute<std::string> a2( a1 );
51 sc_attribute<int> a3( "a3", 24 );
52 sc_attribute<std::string> a4( "a4", "casio" );
53 sc_attribute<int> a5("a5");
62 sc_attribute<std::string>* pi = dynamic_cast<sc_attribute<std::string>*>( p );
/gem5/src/systemc/tests/systemc/compliance_1666/test228/
H A Dtest228.cpp94 sc_attribute<int> at("attr");

Completed in 7 milliseconds