Lines Matching defs:const

92 struct remove_const<const T>
100 static const bool value = false;
105 static const bool value = true;
111 static const bool value = false;
114 struct is_const<const T>
116 static const bool value = true;
124 static const bool value =
170 sc_vector_base(const char *_name) : sc_object(_name) {}
172 virtual const char *kind() const { return "sc_vector"; }
173 size_type size() const;
174 const std::vector<sc_object *> &get_elements() const;
183 sc_object *implicitCast(sc_object *p) const { return p; }
184 sc_object *implicitCast(...) const
189 virtual sc_object *objectCast(void *) const = 0;
191 void checkIndex(size_type index) const;
192 void forceParent() const;
193 void unforceParent() const;
195 void reportEmpty(const char *kind_, bool empty_dest) const;
214 typedef sc_direct_access<const PlainType> ConstPolicy;
217 sc_direct_access(const NonConstPolicy &) {}
220 sc_direct_access(const U &,
229 get(ElementType *this_) const
251 typedef sc_member_access<const PlainElemType, const PlainType> ConstPolicy;
254 sc_member_access(const NonConstPolicy &other) : ptr_(other.ptr_) {}
256 AccessType *get(ElementType *this_) const { return &(this_->*ptr_); }
277 typedef const PlainType ConstPlainType;
299 struct SelectIter<const U>
314 Policy const &get_policy() const { return *this; }
327 sc_vector_iter(const It &it,
363 operator + (difference_type n) const
368 operator - (difference_type n) const
388 operator == (const ConstDirectIterator &other) const
393 operator != (const ConstDirectIterator &other) const
398 operator <= (const ConstDirectIterator &other) const
403 operator >= (const ConstDirectIterator &other) const
408 operator < (const ConstDirectIterator &other) const
413 operator > (const ConstDirectIterator &other) const
419 operator * () const
424 operator -> () const
429 operator [] (difference_type n) const
435 operator - (ConstDirectIterator const &other) const
447 typedef sc_vector_iter<const T> const_iterator;
450 explicit sc_vector(const char *_name) : sc_vector_base(_name) {}
451 sc_vector(const char *_name, size_type _size) : sc_vector_base(_name)
456 sc_vector(const char *_name, size_type _size, Creator creator) :
469 create_element(const char *_name, size_type index)
495 const T &
496 operator [] (size_type index) const
498 return *static_cast<const T *>(objs[index]);
507 const T &
508 at(size_type index) const
511 return *static_cast<const T *>(objs[index]);
516 const_iterator begin() const { return objs.begin(); }
517 const_iterator end() const { return objs.end(); }
518 const_iterator cbegin() const { return objs.begin(); }
519 const_iterator cend() const { return objs.end(); }
589 sc_vector(const sc_vector &);
590 sc_vector &operator = (const sc_vector &);
603 objectCast(void *ptr) const
619 const T, sc_member_access<const T, const MT> > const_iterator;
622 sc_vector_assembly(const sc_vector_assembly &other) :
630 cbegin() const
635 cend() const
641 begin() const
646 end() const
651 size_type size() const { return vec_->size(); }
654 get_elements() const
672 operator [] (size_type i) const
683 at(size_type i) const