34 #ifndef SC_ATTRIBUTE_H 35 #define SC_ATTRIBUTE_H 42 #if defined(_MSC_VER) && !defined(SC_WIN_DLL_WARN) 44 #pragma warning(disable: 4251) // DLL import for std::string,vector 67 const std::string& name()
const;
95 typedef std::vector<elem_type>::iterator
iterator;
113 const sc_attr_base* operator [] (
const std::string& name_ )
const;
124 {
return static_cast<int>(m_cltn.size()); }
128 {
return m_cltn.begin(); }
130 {
return m_cltn.begin(); }
134 {
return m_cltn.end(); }
135 const_iterator
end()
const 136 {
return m_cltn.end(); }
139 std::vector<sc_attr_base*> m_cltn;
195 #if defined(_MSC_VER) && !defined(SC_WIN_DLL_WARN)
Attribute collection class.
std::vector< elem_type >::iterator iterator
std::vector< elem_type >::const_iterator const_iterator
sc_clock period is zero sc_clock low time is zero sc_fifo< T > cannot have more than one writer bind interface to port failed complete binding failed remove port failed insert primitive channel failed sc_signal< T > cannot have more than one driver resolved port not bound to resolved signal sc_semaphore requires an initial value
sc_attribute(const std::string &name_, const T &value_)
const_iterator begin() const
sc_attribute(const std::string &name_)
const_iterator end() const
sc_attribute(const sc_attribute< T > &a)