Lines Matching defs:name
17 // * Neither the name of Industrial Light & Magic nor the names of
139 // insert(n,attr) If no attribute with name n exists, a new
140 // attribute with name n, and the same type as
144 // If an attribute with name n exists, and its
148 // If an attribute with name n exists, and its
154 void insert (const char name[],
157 void insert (const std::string &name,
164 // with name n. If no attribute with
165 // name n exists, an Iex::ArgExc is thrown.
168 // with name n and type T. If no attribute
169 // with name n exists, an Iex::ArgExc is
170 // thrown. If an attribute with name n
175 // name n and type T, or 0 if no attribute
176 // with name n and type T exists.
180 Attribute & operator [] (const char name[]);
181 const Attribute & operator [] (const char name[]) const;
183 Attribute & operator [] (const std::string &name);
184 const Attribute & operator [] (const std::string &name) const;
186 template <class T> T& typedAttribute (const char name[]);
187 template <class T> const T& typedAttribute (const char name[]) const;
189 template <class T> T& typedAttribute (const std::string &name);
190 template <class T> const T& typedAttribute (const std::string &name) const;
192 template <class T> T* findTypedAttribute (const char name[]);
193 template <class T> const T* findTypedAttribute (const char name[]) const;
195 template <class T> T* findTypedAttribute (const std::string &name);
196 template <class T> const T* findTypedAttribute (const std::string &name)
203 typedef std::map <Name, Attribute *> AttributeMap;
214 Iterator find (const char name[]);
215 ConstIterator find (const char name[]) const;
217 Iterator find (const std::string &name);
218 ConstIterator find (const std::string &name) const;
253 // The tile description is a TileDescriptionAttribute whose name
282 // The preview image is a PreviewImageAttribute whose name is "preview".
376 const char * name () const;
398 const char * name () const;
464 Header::Iterator::name () const
516 Header::ConstIterator::name () const
549 Header::typedAttribute (const char name[])
551 Attribute *attr = &(*this)[name];
563 Header::typedAttribute (const char name[]) const
565 const Attribute *attr = &(*this)[name];
577 Header::typedAttribute (const std::string &name)
579 return typedAttribute<T> (name.c_str());
585 Header::typedAttribute (const std::string &name) const
587 return typedAttribute<T> (name.c_str());
593 Header::findTypedAttribute (const char name[])
595 AttributeMap::iterator i = _map.find (name);
602 Header::findTypedAttribute (const char name[]) const
604 AttributeMap::const_iterator i = _map.find (name);
611 Header::findTypedAttribute (const std::string &name)
613 return findTypedAttribute<T> (name.c_str());
619 Header::findTypedAttribute (const std::string &name) const
621 return findTypedAttribute<T> (name.c_str());