|
Open CASCADE Technology 6.5.2
|
This class allows to add comment lines on writing an IGES File
These lines are added to Start Section, instead of the only
one blank line written by default.
#include <IGESSelect_AddFileComment.hxx>

Public Member Functions | |
| IGESSelect_AddFileComment () | |
| Creates a new emoty AddFileComment. Use AddLine to complete it | |
| void | Clear () |
| Clears the list of file comment lines already stored | |
| void | AddLine (const Standard_CString line) |
| Adds a line for file comment Remark : Lines are limited to 72 useful char.s . A line of more than 72 char.s will be splited into several ones of 72 max each. | |
| void | AddLines (const Handle< TColStd_HSequenceOfHAsciiString > &lines) |
| Adds a list of lines for file comment Each of them must comply with demand of AddLine | |
| Standard_Integer | NbLines () const |
| Returns the count of stored lines | |
| Standard_CString | Line (const Standard_Integer num) const |
| Returns a stored line given its rank | |
| Handle_TColStd_HSequenceOfHAsciiString | Lines () const |
| Returns the complete list of lines in once | |
| void | Perform (IFSelect_ContextWrite &ctx, IGESData_IGESWriter &writer) const |
| Sends the comment lines to the file (Start Section) | |
| TCollection_AsciiString | Label () const |
| Returns specific Label, which is "Add <nn> Comment Lines (Start Section)" | |
| IGESSelect_AddFileComment::IGESSelect_AddFileComment | ( | ) |
| void IGESSelect_AddFileComment::AddLine | ( | const Standard_CString | line | ) |
| void IGESSelect_AddFileComment::AddLines | ( | const Handle< TColStd_HSequenceOfHAsciiString > & | lines | ) |
| void IGESSelect_AddFileComment::Clear | ( | ) |
| TCollection_AsciiString IGESSelect_AddFileComment::Label | ( | ) | const [virtual] |
Implements IFSelect_GeneralModifier.
| Standard_CString IGESSelect_AddFileComment::Line | ( | const Standard_Integer | num | ) | const |
| Handle_TColStd_HSequenceOfHAsciiString IGESSelect_AddFileComment::Lines | ( | ) | const |
| Standard_Integer IGESSelect_AddFileComment::NbLines | ( | ) | const |
| void IGESSelect_AddFileComment::Perform | ( | IFSelect_ContextWrite & | ctx, |
| IGESData_IGESWriter & | writer | ||
| ) | const [virtual] |
Implements IGESSelect_FileModifier.
1.7.4