Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
IGESSelect_AddFileComment Class Reference

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>

Inheritance diagram for IGESSelect_AddFileComment:
Inheritance graph
[legend]

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)"


Constructor & Destructor Documentation


Member Function Documentation

Handle_TColStd_HSequenceOfHAsciiString IGESSelect_AddFileComment::Lines ( ) const

The documentation for this class was generated from the following file: