Пример #1
0
    std::string TypeIdentifier::fullName() const
    {
      std::map<const std::type_info*,std::string>::const_iterator finder =
          StaticStorage::get()->m_full_names.find(m_representation) ;

      if (finder != StaticStorage::get()->m_full_names.end())
        return finder->second ;

      return StaticStorage::get()->m_full_names[m_representation] = calculateFullName() ;
    }
Пример #2
0
			/** Sets the parent node
			 *
			 * \param   val   Parent node
			 */
			void setParentNode(Clang_AST_CXTreeNode* val) { m_parentNode = val; calculateFullName(); }