#ifndef  TYPE_SDAISOURCE_ITEM_H
#define  TYPE_SDAISOURCE_ITEM_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 SdaiSource_item
class SC_SCHEMA_EXPORT SdaiSource_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IDENTIFIER    --  sdaiSTRING
       SDAI_String _string;

  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
    SdaiSource_item( const SelectTypeDescriptor * =plant_spatial_configuration::t_source_item );
    //  part 1
    SdaiSource_item( const SdaiIdentifier&,
                     const SelectTypeDescriptor * =plant_spatial_configuration::t_source_item );
    virtual ~SdaiSource_item();

    //  part 2
    operator SdaiIdentifier();

    //  part 3

    //  part 4
    SdaiSource_item& operator =( const SdaiIdentifier& );
    // not in SDAI
    SdaiSource_item& ShallowCopy ( const SdaiSource_item& );

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

    //  part 5
    Logical IsIdentifier() const;

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

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

inline SDAI_Select * create_SdaiSource_item () { return new SdaiSource_item; }
typedef SdaiSource_item * SdaiSource_itemH;
typedef SdaiSource_item_ptr SdaiSource_item_var;


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

  public:
    SdaiSource_item_agg( SelectTypeDescriptor * =plant_spatial_configuration::t_source_item );
    ~SdaiSource_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiSource_item( sel_type )); }
};
inline STEPaggregate * create_SdaiSource_item_agg () { return new SdaiSource_item_agg; }
typedef SdaiSource_item_agg_ptr SdaiSource_item_agg_var;

/////  END SELECT TYPE source_item

void init_SdaiSource_item(Registry& reg);

#endif
