#ifndef  TYPE_SDAIANNOTATION_PLANE_ELEMENT_H
#define  TYPE_SDAIANNOTATION_PLANE_ELEMENT_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 SdaiAnnotation_plane_element
class SC_SCHEMA_EXPORT SdaiAnnotation_plane_element  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   DRAUGHTING_CALLOUT    --  sdaiINSTANCE
    //   STYLED_ITEM    --  sdaiINSTANCE
       SDAI_Application_instance_ptr _app_inst;

  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
    SdaiAnnotation_plane_element( const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_annotation_plane_element );
    //  part 1
    SdaiAnnotation_plane_element( const SdaiDraughting_callout_ptr&,
                                  const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_annotation_plane_element );
    SdaiAnnotation_plane_element( const SdaiStyled_item_ptr&,
                                  const SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_annotation_plane_element );
    virtual ~SdaiAnnotation_plane_element();

    //  part 2
    operator SdaiDraughting_callout_ptr();
    operator SdaiStyled_item_ptr();

    //  part 3
        SdaiRepresentation_item_ptr_c item_() const;
        SdaiRepresentation_item_ptr   item_();
        void item_( const SdaiRepresentation_item_ptr x );

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

        SdaiDraughting_callout_element_agg_ptr_c contents_() const;
        SdaiDraughting_callout_element_agg_ptr   contents_();
        void contents_( const SdaiDraughting_callout_element_agg_ptr x );

  const SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel x );


    //  part 4
    SdaiAnnotation_plane_element& operator =( const SdaiDraughting_callout_ptr& );
    SdaiAnnotation_plane_element& operator =( const SdaiStyled_item_ptr& );
    // not in SDAI
    SdaiAnnotation_plane_element& ShallowCopy ( const SdaiAnnotation_plane_element& );

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

    //  part 5
    Logical IsDraughting_callout() const;
    Logical IsStyled_item() const;

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

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

inline SDAI_Select * create_SdaiAnnotation_plane_element () { return new SdaiAnnotation_plane_element; }
typedef SdaiAnnotation_plane_element * SdaiAnnotation_plane_elementH;
typedef SdaiAnnotation_plane_element_ptr SdaiAnnotation_plane_element_var;


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

  public:
    SdaiAnnotation_plane_element_agg( SelectTypeDescriptor * =ap203_configuration_controlled_3d_design_of_mechanical_parts_and_assemblies_mim_lf::t_annotation_plane_element );
    ~SdaiAnnotation_plane_element_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiAnnotation_plane_element( sel_type )); }
};
inline STEPaggregate * create_SdaiAnnotation_plane_element_agg () { return new SdaiAnnotation_plane_element_agg; }
typedef SdaiAnnotation_plane_element_agg_ptr SdaiAnnotation_plane_element_agg_var;

/////  END SELECT TYPE annotation_plane_element

void init_SdaiAnnotation_plane_element(Registry& reg);

#endif
