Files
Clifford Yapp d824fc0c4e Keep longer directory names
We want to be consistent with the previous layout, to avoid needlessly
breaking existing codes.  The header update means client codes are not
required to include all of the stepcode library includes explicitly -
i.e., stepcode itself does not force this requirement with its own
internal includes.  However, if client codes do not want to add the
library prefixes to their own includes as we have for stepcode, they
should still be able to add the various includes and work as before.
Adjust the include directory names accordingly.
2022-10-02 17:57:57 -04:00

52 lines
1.2 KiB
C++

#ifndef IMPLICITITEMID_H
#define IMPLICITITEMID_H
#include "interfacedItem.h"
class SC_CORE_EXPORT Implicit_item_id : public Interfaced_item {
protected:
Implicit_item_id();
Implicit_item_id( Implicit_item_id & );
virtual ~Implicit_item_id();
public:
const TypeDescriptor * _local_definition;
const TypeDescriptor * local_definition_() const {
return _local_definition;
}
// private:
void local_definition_( const TypeDescriptor * td ) {
_local_definition = td;
}
};
typedef Implicit_item_id * Implicit_item_id_ptr;
class SC_CORE_EXPORT Implicit_item_id__set {
public:
Implicit_item_id__set( int = 16 );
~Implicit_item_id__set();
Implicit_item_id_ptr & operator[]( int index );
void Insert( Implicit_item_id_ptr, int index );
void Append( Implicit_item_id_ptr );
void Remove( int index );
int Index( Implicit_item_id_ptr );
int Count();
void Clear();
private:
void Check( int index );
private:
Implicit_item_id_ptr * _buf;
int _bufsize;
int _count;
};
typedef Implicit_item_id__set * Implicit_item_id__set_ptr;
typedef Implicit_item_id__set_ptr Implicit_item_id__set_var;
#endif //IMPLICITITEMID_H