-------------------------------------------------- ------------------------------ -- -- -- OCARINA COMPONENTS -- -- -- -- O C A R I N A . E X P A N D E R . Q U E R I E S -- -- -- -- S p e c -- -- -- -- Copyright (C) 2005-2007, GET-Telecom Paris. -- -- -- -- Ocarina is free software; you can redistribute it and/or modify -- -- it under terms of the GNU General Public License as published by the -- -- Free Software Foundation; either version 2, or (at your option) any -- -- later version. Ocarina is distributed in the hope that it will be -- -- useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -- -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -- -- Public License for more details. You should have received a copy of the -- -- GNU General Public License distributed with Ocarina; see file COPYING. -- -- If not, write to the Free Software Foundation, 51 Franklin Street, Fifth -- -- Floor, Boston, MA 02111-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- Ocarina is maintained by the Ocarina team -- -- (ocarina-users@listes.enst.fr) -- -- -- ------------------------------------------------------------------------------ -- This package does the same work of Ocarina.Analyzer.Queries, but -- on the instance tree. with Ocarina.Analyzer.Queries; package Ocarina.Expander.Queries is function Compute_Absolute_Name_Of_Entity (Entity : node_id; Separator : name_id := No_Name) return name_id; -- Concatenate the names of all the parent entities of Entity, -- including its name, separated by dots. -- Functions that ask for the presence of the property function Is_Defined_Property (Entity : node_id; Name : String) return Boolean; -- Cf. the documentation of -- Ocarina.Analyzer.Queries.Is_Defined_Property function Is_Defined_String_Property (Entity : node_id; Name : String) return Boolean renames Ocarina.Analyzer.Queries.Is_Defined_String_Property; -- Cf. the documentation of -- Ocarina.Analyzer.Queries.Is_Defined_String_Property function Is_Defined_Integer_Property (Entity : node_id; Name : String) return Boolean renames Ocarina.Analyzer.Queries.Is_Defined_Integer_Property; -- Cf. the documentation of -- Ocarina.Analyzer.Queries.Is_Defined_Integer_Property function Is_Defined_Boolean_Property (Entity : node_id; Name : String) return Boolean renames Ocarina.Analyzer.Queries.Is_Defined_Boolean_Property; -- Cf. the documentation of -- Ocarina.Analyzer.Queries.Is_Defined_Boolean_Property function Is_Defined_Float_Property (Entity : node_id; Name : String) return Boolean renames Ocarina.Analyzer.Queries.Is_Defined_Float_Property; -- Cf. the documentation of -- Ocarina.Analyzer.Queries.Is_Defined_Float_Property function Is_Defined_Reference_Property (Entity : node_id; Name : String) return Boolean renames Ocarina.Analyzer.Queries.Is_Defined_Reference_Property; -- Cf. the documentation of -- Ocarina.Analyzer.Queries.Is_Defined_Reference_Property function Is_Defined_List_Property (Entity : node_id; Name : String) return Boolean renames Ocarina.Analyzer.Queries.Is_Defined_List_Property; -- Cf. the documentation of -- Ocarina.Analyzer.Queries.Is_Defined_List_Property function Is_Defined_Enumeration_Property (Entity : node_id; Name : String) return Boolean renames Ocarina.Analyzer.Queries.Is_Defined_Enumeration_Property; -- Cf. the documentation of -- Ocarina.Analyzer.Queries.Is_Defined_Enumeration_Property -- Functions that return the property values function Get_Value_Of_Property_Association (Entity : node_id; Name : String) return node_id renames Ocarina.Analyzer.Queries.Get_Value_Of_Property_Association; -- Cf. the documentation of -- Ocarina.Analyzer.Queries.Get_Value_Of_Property_Association function Get_String_Property (Entity : node_id; Name : String) return String renames Ocarina.Analyzer.Queries.Get_String_Property; -- Cf. the documentation of -- Ocarina.Analyzer.Queries.Get_String_Property function Get_String_Property (Entity : node_id; Name : String) return name_id renames Ocarina.Analyzer.Queries.Get_String_Property; -- Cf. the documentation of -- Ocarina.Analyzer.Queries.Get_String_Property function Get_Integer_Property (Entity : node_id; Name : String) return unsigned_long_long renames Ocarina.Analyzer.Queries.Get_Integer_Property; -- Cf. the documentation of -- Ocarina.Analyzer.Queries.Get_Integer_Property function Get_Float_Property (Entity : node_id; Name : String) return Long_Long_Float renames Ocarina.Analyzer.Queries.Get_Float_Property; -- Cf. the documentation of -- Ocarina.Analyzer.Queries.Get_Float_Property function Get_Boolean_Property (Entity : node_id; Name : String) return Boolean renames Ocarina.Analyzer.Queries.Get_Boolean_Property; -- Cf. the documentation of -- Ocarina.Analyzer.Queries.Get_Boolean_Property function Get_Reference_Property (Entity : node_id; Name : String) return node_id renames Ocarina.Analyzer.Queries.Get_Reference_Property; -- Cf. the documentation of -- Ocarina.Analyzer.Queries.Get_Reference_Property function Get_List_Property (Entity : node_id; Name : String) return list_id renames Ocarina.Analyzer.Queries.Get_List_Property; -- Cf. the documentation of -- Ocarina.Analyzer.Queries.Get_List_Property function Get_Enumeration_Property (Entity : node_id; Name : String) return String renames Ocarina.Analyzer.Queries.Get_Enumeration_Property; -- Cf. the documentation of -- Ocarina.Analyzer.Queries.Get_Enumeration_Property function Get_Enumeration_Property (Entity : node_id; Name : String) return name_id renames Ocarina.Analyzer.Queries.Get_Enumeration_Property; -- Cf. the documentation of -- Ocarina.Analyzer.Queries.Get_Enumeration_Property function Compute_Property_Value (Property_Value : node_id) return node_id renames Ocarina.Analyzer.Queries.Compute_Property_Value; -- Cf. the documentation of -- Ocarina.Analyzer.Queries.Compute_Property_Value end Ocarina.Expander.Queries;