# Class: com.pnfsoftware.jeb.core.output.code.CppLikeDocumentPart

Text document part containing code similar to C\+\+ source code \(ex: C, Java\).

## Constructor: CppLikeDocumentPart
- parameter: `baseAnchorId`, type: `long`


## Protected Field: commentBlockBegin
Type: `java.lang.String`

## Protected Field: commentBlockEnd
Type: `java.lang.String`

## Protected Field: commentInline
Type: `java.lang.String`

## Method: appendMultiLineComment
- parameter: `comment`, type: `java.lang.String`
- parameter: `preferBlockComment`, type: `boolean`
- parameter: `appendEOL`, type: `boolean`


## Method: appendMultiLineCommentAuto
- parameter: `comment`, type: `java.lang.String`
- parameter: `preferBlockComment`, type: `boolean`
- parameter: `appendEOL`, type: `boolean`


## Method: eol

Description: Overridden to make sure a hint is added every time we end a line.

## Method: eol
- parameter: `coord`, type: `com.pnfsoftware.jeb.core.output.code.coordinates.ICodeCoordinates`


## Method: getEolComment
- return type: `java.lang.String`


## Method: getEolCoordinates
- return type: `com.pnfsoftware.jeb.core.output.code.coordinates.ICodeCoordinates`


## Method: onEolAddComment
- parameter: `comment`, type: `java.lang.String`


## Method: setEolComment
- parameter: `comment`, type: `java.lang.String`


## Method: setEolComment
- parameter: `comment`, type: `java.lang.String`
- parameter: `auto`, type: `boolean`


## Method: setEolCoordinates
- parameter: `coord`, type: `com.pnfsoftware.jeb.core.output.code.coordinates.ICodeCoordinates`


## Method: validate


