Package geomss.geom.reader.iges
Class EntityXXX_Unsupported
- java.lang.Object
-
- geomss.geom.reader.iges.Entity
-
- geomss.geom.reader.iges.EntityXXX_Unsupported
-
public class EntityXXX_Unsupported extends Entity
UNSUPPORTED ENTITY - This entity is both a generic starting point for entity class creation and a placeholder for unsupported entities in the IGES file. To extend this class, add whatever member variables are required for the entity type. Make them private.Modified by: Joseph A. Huwaldt
- Version:
- April 10, 2016
- Author:
- JDN, Version 1.0
-
-
Constructor Summary
Constructors Constructor Description EntityXXX_Unsupported(Part p, DirEntry de)
The default constructor should be good as is, unless you declare members that need initializing, such as Lists.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
check()
The method check() should go through the given restrictions for the entity and put together an error string to be displayed in the error window.java.lang.String
getTypeString()
Returns a short String describing this Entity object's type.void
read(java.io.RandomAccessFile in)
The read() method basically parses the String read in by Entity.read().-
Methods inherited from class geomss.geom.reader.iges.Entity
blankedStatus, canWrite, getDENum, getErrors, getHeader, getMatrix, getPDNum, getType, getView, hierStatus, read_additional, subordStatus, toString, useStatus, write
-
-
-
-
Constructor Detail
-
EntityXXX_Unsupported
public EntityXXX_Unsupported(Part p, DirEntry de)
The default constructor should be good as is, unless you declare members that need initializing, such as Lists.- Parameters:
p
- part to which this entity is containedde
- Directory Entry for this entity
-
-
Method Detail
-
check
public void check()
The method check() should go through the given restrictions for the entity and put together an error string to be displayed in the error window. If the error should prevent the entity from being drawn, set toBeDrawn to false (it is true by default).
-
read
public void read(java.io.RandomAccessFile in) throws java.io.IOException
The read() method basically parses the String read in by Entity.read(). There are several methods to use to grab specific data types: getInt(), getReal(), getString(), and getChar(). See other entity classes for examples of usage. The GlobalSection class also has some examples.
-
getTypeString
public java.lang.String getTypeString()
Returns a short String describing this Entity object's type.- Specified by:
getTypeString
in classEntity
- Returns:
- A short String describing this Entity object's type.
-
-