// ---------------------------------------------------------------------------
// - Preditu.hpp                                                             -
// - afnix:itu module - predicates declaration                               -
// ---------------------------------------------------------------------------
// - This program is free software;  you can redistribute it  and/or  modify -
// - it provided that this copyright notice is kept intact.                  -
// -                                                                         -
// - This program  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.  In no event shall -
// - the copyright holder be liable for any  direct, indirect, incidental or -
// - special damages arising in any way out of the use of this software.     -
// ---------------------------------------------------------------------------
// - copyright (c) 1999-2013 amaury darsch                                   -
// ---------------------------------------------------------------------------

#ifndef  AFNIX_PREDITU_HPP
#define  AFNIX_PREDITU_HPP

#ifndef  AFNIX_OBJECT_HPP
#include "Object.hpp"
#endif
 
namespace afnix {

  /// this file contains the predicates associated with the afnix:itu
  /// standard module.
  /// @author amaury darsch

  // -------------------------------------------------------------------------
  // - asn section                                                           -
  // -------------------------------------------------------------------------

  /// the asn node object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asnnodep (Runnable* robj, Nameset* nset, Cons* args);

  /// the asn buffer node object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asnbufp (Runnable* robj, Nameset* nset, Cons* args);

  /// the asn eoc object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asneocp (Runnable* robj, Nameset* nset, Cons* args);

  /// the asn gtm object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asngtmp (Runnable* robj, Nameset* nset, Cons* args);

  /// the asn utc object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asnutcp (Runnable* robj, Nameset* nset, Cons* args);

  /// the asn ias object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asniasp (Runnable* robj, Nameset* nset, Cons* args);

  /// the asn sequence object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asnseqp (Runnable* robj, Nameset* nset, Cons* args);

  /// the asn set object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asnsetp (Runnable* robj, Nameset* nset, Cons* args);

  /// the asn oid object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asnoidp (Runnable* robj, Nameset* nset, Cons* args);

  /// the asn relative oid object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asnroidp (Runnable* robj, Nameset* nset, Cons* args);

  /// the asn boolean object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asnboolp (Runnable* robj, Nameset* nset, Cons* args);

  /// the asn integer object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asnintgp (Runnable* robj, Nameset* nset, Cons* args);

  /// the asn bit string object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asnbitsp (Runnable* robj, Nameset* nset, Cons* args);

  /// the asn octet string object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asnoctsp (Runnable* robj, Nameset* nset, Cons* args);

  /// the asn null object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asnnullp (Runnable* robj, Nameset* nset, Cons* args);

  /// the asn nums object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asnnumsp (Runnable* robj, Nameset* nset, Cons* args);

  /// the asn prts object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asnprtsp (Runnable* robj, Nameset* nset, Cons* args);

  /// the asn bmps object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asnbmpsp (Runnable* robj, Nameset* nset, Cons* args);

  /// the asn unvs object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asnunvsp (Runnable* robj, Nameset* nset, Cons* args);

  /// the asn utfs object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_asnutfsp (Runnable* robj, Nameset* nset, Cons* args);

  // -------------------------------------------------------------------------
  // - itu section                                                           -
  // -------------------------------------------------------------------------

  /// the oid object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_oidp (Runnable* robj, Nameset* nset, Cons* args);

  /// the X509 object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_x509p (Runnable* robj, Nameset* nset, Cons* args);

  /// the X509 algorithm object predicate
  /// @param robj the current runnable
  /// @param nset the current nameset
  /// @param args the arguments list
  Object* itu_xalgop (Runnable* robj, Nameset* nset, Cons* args);

}

#endif
