1. --  (c) Copyright, Real-Time Innovations, $Date:: 2012-02-16 #$ 
  2. --  All rights reserved. 
  3. -- 
  4. --  No duplications, whole or partial, manual or electronic, may be made 
  5. --  without express written permission.  Any such copies, or 
  6. --  revisions thereof, must display this notice unaltered. 
  7. --  This code contains trade secrets of Real-Time Innovations, Inc. 
  8.  
  9. pragma Ada_05; 
  10.  
  11. with DDS.QueryCondition; 
  12. with DDS.ReadCondition_Impl; 
  13.  
  14. package DDS.QueryCondition_Impl is 
  15.    type Ref is new DDS.ReadCondition_Impl.Ref and DDS.QueryCondition.Ref with null record; 
  16.    type Ref_Access is access all Ref'Class; 
  17.  
  18.    function Get_Query_Expression 
  19.      (Self : not null access Ref) 
  20.      return DDS.String; 
  21.  
  22.    procedure Get_Query_Parameters 
  23.      (Self   : not null access Ref; 
  24.       Params : not null access DDS.String_Seq.Sequence); 
  25.  
  26.    procedure Set_Query_Parameters 
  27.      (Self   : not null access Ref; 
  28.       Params : DDS.String_Seq.Sequence); 
  29.  
  30.    function Get_ReadConditionImpl_I 
  31.      (Self : access Ref) 
  32.       return DDS.ReadCondition_Impl.Ref_Access; 
  33.  
  34.    function CreateI 
  35.      (C_DataReader  : System.Address; 
  36.       Sample_Mask   : DDS.SampleStateMask; 
  37.       View_Mask     : DDS.ViewStateMask; 
  38.       Instance_Mask : DDS.InstanceStateMask; 
  39.       Query         : DDS.String; 
  40.       Query_Params  : DDS.String_Seq.Sequence) 
  41.      return DDS.QueryCondition.Ref_Access; 
  42.  
  43.    procedure Free (Self : access Ref'Class); 
  44.  
  45. private 
  46.  
  47.    procedure Free_Impl is new Ada.Unchecked_Deallocation (Ref'Class, Ref_Access); 
  48.    procedure Free_Mem (Self : in out Ref_Access) renames Free_Impl; 
  49. end DDS.QueryCondition_Impl;