Lines Matching defs:const

95   const char * kind() const { return "sc_vector"; }
97 std::vector<sc_object*> const & get_elements() const;
99 size_type size() const
111 sc_vector_base( const char* prefix )
123 void const * at( size_type i ) const
135 void check_index( size_type i ) const;
136 bool check_init( size_type n ) const;
138 static std::string make_name( const char* prefix, size_type index );
143 const_iterator begin() const { return vec_.begin(); }
144 const_iterator end() const { return vec_.end(); }
146 virtual sc_object* object_cast( void* ) const = 0;
148 sc_object* implicit_cast( sc_object* p ) const { return p; }
149 sc_object* implicit_cast( ... /* incompatible */ ) const;
153 void report_empty_bind( const char* kind_, bool dst_range_ ) const;
160 sc_vector_base( const sc_vector_base& );
161 sc_vector_base& operator=( const sc_vector_base& );
175 typedef sc_direct_access< const plain_type > const_policy;
178 sc_direct_access( const non_const_policy& ) {}
179 // convert from any policy to (const) direct policy
181 sc_direct_access(const U&,
187 type* get( type* this_ ) const
209 typedef sc_member_access< const plain_elem_type, const plain_type >
215 sc_member_access( const non_const_policy& other )
219 access_type * get( element_type* this_ ) const
241 typedef const plain_type const_plain_type;
255 template< typename U > struct select_iter< const U >
268 access_policy const & get_policy() const { return *this; }
280 // iterator conversions to more const, and/or direct iterators
282 sc_vector_iter( const sc_vector_iter<OtherElement, OtherPolicy>& it
296 this_type operator+( difference_type n ) const
298 this_type operator-( difference_type n ) const
305 bool operator== ( const this_type& that ) const { return it_ == that.it_; }
306 bool operator!= ( const this_type& that ) const { return it_ != that.it_; }
307 bool operator<= ( const this_type& that ) const { return it_ <= that.it_; }
308 bool operator>= ( const this_type& that ) const { return it_ >= that.it_; }
309 bool operator< ( const this_type& that ) const { return it_ < that.it_; }
310 bool operator> ( const this_type& that ) const { return it_ > that.it_; }
313 reference operator*() const
315 pointer operator->() const
317 reference operator[]( difference_type n ) const
321 difference_type operator-( this_type const& that ) const
336 typedef sc_vector_iter< const element_type > const_iterator;
340 explicit sc_vector( const char* prefix )
344 explicit sc_vector( const char* prefix, size_type n )
349 sc_vector( const char* prefix, size_type n, Creator creator )
363 const element_type& operator[]( size_type i ) const
364 { return *static_cast<element_type const *>( base_type::at(i) ); }
366 const element_type& at( size_type i ) const
375 static element_type * create_element( const char* prefix, size_type index );
380 const_iterator begin() const { return base_type::begin(); }
381 const_iterator end() const { return base_type::end(); }
383 const_iterator cbegin() const { return base_type::begin(); }
384 const_iterator cend() const { return base_type::end(); }
430 virtual sc_object* object_cast( void* p ) const
445 typedef sc_vector_iter< const T
446 , sc_member_access<const T, const MT> > const_iterator;
461 const char* name() const { return vec_->name(); }
462 const char* kind() const { return "sc_vector_assembly"; }
469 const_iterator cbegin() const
471 const_iterator cend() const
474 const_iterator begin() const
476 const_iterator end() const
479 size_type size() const { return vec_->size(); }
480 const std::vector< sc_object* > & get_elements() const;
486 const_reference operator[]( size_type idx ) const
488 const_reference at( size_type idx ) const
535 sc_vector_assembly( const sc_vector_assembly & other )
555 void report_empty_bind( const char* kind_, bool dst_empty_ ) const
569 sc_object* object_cast( pointer p ) const
587 sc_vector<T>::create_element( const char* name, size_type /* idx */ )
606 const char* cname = name.c_str();
674 std::vector< sc_object* > const &
675 sc_vector_assembly<T,MT>::get_elements() const