#ifndef  TYPE_SDAIIFCHATCHLINEDISTANCESELECT_H
#define  TYPE_SDAIIFCHATCHLINEDISTANCESELECT_H

// This file was generated by exp2cxx,
// 0.8.1.
// You probably don't want to edit it since your modifications
// will be lost if exp2cxx is used to regenerate it.


//////////  SELECT TYPE SdaiIfchatchlinedistanceselect
class SC_SCHEMA_EXPORT SdaiIfchatchlinedistanceselect  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCONEDIRECTIONREPEATFACTOR    --  sdaiINSTANCE
    //   IFCPOSITIVELENGTHMEASURE    --  sdaiREAL
       SDAI_Application_instance_ptr _app_inst;
       SDAI_Real _real;

  public:
    virtual const TypeDescriptor * AssignEntity (SDAI_Application_instance * se);
    virtual SDAI_Select * NewSelect ();

    virtual BASE_TYPE ValueType() const;


// STEP Part 21
    virtual void STEPwrite_content (ostream& out =std::cout,
                    const char *currSch =0) const;
    virtual void STEPwrite_verbose (ostream& out =std::cout,
                    const char *currSch =0) const;
    virtual Severity STEPread_content (istream& in =cin,
        InstMgrBase * instances =0, const char *utype =0,
        int addFileId =0, const char *currSch =0);
    virtual Severity StrToVal_content (const char *,
        InstMgrBase * instances =0);

// STEP Part 22:  SDAI

// constructors
    SdaiIfchatchlinedistanceselect( const SelectTypeDescriptor * =ifc2x3::t_ifchatchlinedistanceselect );
    //  part 1
    SdaiIfchatchlinedistanceselect( const SdaiIfconedirectionrepeatfactor_ptr&,
                                    const SelectTypeDescriptor * =ifc2x3::t_ifchatchlinedistanceselect );
    SdaiIfchatchlinedistanceselect( const SdaiIfcpositivelengthmeasure&,
                                    const SelectTypeDescriptor * =ifc2x3::t_ifchatchlinedistanceselect );
    virtual ~SdaiIfchatchlinedistanceselect();

    //  part 2
    operator SdaiIfconedirectionrepeatfactor_ptr();
    operator SdaiIfcpositivelengthmeasure();

    //  part 3
        SdaiIfcvector_ptr_c repeatfactor_() const;
        SdaiIfcvector_ptr   repeatfactor_();
        void repeatfactor_( const SdaiIfcvector_ptr x );

        EntityAggregate_ptr_c styledbyitem_() const;
        EntityAggregate_ptr   styledbyitem_();
        void styledbyitem_( const EntityAggregate_ptr x );

        EntityAggregate_ptr_c layerassignments_() const;
        EntityAggregate_ptr   layerassignments_();
        void layerassignments_( const EntityAggregate_ptr x );


    //  part 4
    SdaiIfchatchlinedistanceselect& operator =( const SdaiIfconedirectionrepeatfactor_ptr& );
    SdaiIfchatchlinedistanceselect& operator =( const SdaiIfcpositivelengthmeasure& );
    // not in SDAI
    SdaiIfchatchlinedistanceselect& ShallowCopy ( const SdaiIfchatchlinedistanceselect& );

#ifdef COMPILER_DEFINES_OPERATOR_EQ
#else
    SdaiIfchatchlinedistanceselect& operator =( SdaiIfchatchlinedistanceselect * const & );
    SDAI_Select& operator =( const SDAI_Select& );
#endif

    //  part 5
    Logical IsIfconedirectionrepeatfactor() const;
    Logical IsIfcpositivelengthmeasure() const;

    //  part 6 ... UnderlyingTypeName () implemented in SDAI_Select class ...

    //  part 7 ... NONE    only for complex selects...
};

inline SDAI_Select * create_SdaiIfchatchlinedistanceselect () { return new SdaiIfchatchlinedistanceselect; }
typedef SdaiIfchatchlinedistanceselect * SdaiIfchatchlinedistanceselectH;
typedef SdaiIfchatchlinedistanceselect_ptr SdaiIfchatchlinedistanceselect_var;


class SdaiIfchatchlinedistanceselect_agg : public SelectAggregate {
  protected:
    SelectTypeDescriptor *sel_type;

  public:
    SdaiIfchatchlinedistanceselect_agg( SelectTypeDescriptor * =ifc2x3::t_ifchatchlinedistanceselect );
    ~SdaiIfchatchlinedistanceselect_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfchatchlinedistanceselect( sel_type )); }
};
inline STEPaggregate * create_SdaiIfchatchlinedistanceselect_agg () { return new SdaiIfchatchlinedistanceselect_agg; }
typedef SdaiIfchatchlinedistanceselect_agg_ptr SdaiIfchatchlinedistanceselect_agg_var;

/////  END SELECT TYPE ifchatchlinedistanceselect

void init_SdaiIfchatchlinedistanceselect(Registry& reg);

#endif
