FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\Lib\View\PagedHexResult Class Reference
Inheritance diagram for Fossology\Lib\View\PagedHexResult:
Inheritance graph
Collaboration diagram for Fossology\Lib\View\PagedHexResult:
Collaboration graph

Public Member Functions

 __construct ($startOffset, HighlightState $highlightState)
 
 getText ()
 
 appendMetaText ($text)
 
- Public Member Functions inherited from Fossology\Lib\View\PagedResult
 __construct ($startOffset)
 
 appendContentText ($text)
 
 getStartOffset ()
 
 getCurrentOffset ()
 
 isEmpty ()
 

Public Attributes

const BYTES_PER_LINE = 16
 
- Public Attributes inherited from Fossology\Lib\View\PagedResult
const TARGET_CHARSET = "UTF-8"
 

Protected Member Functions

 renderContentText ($text)
 
 createHexdumpLine ()
 
 resetLineData ()
 
 mergeMetaText (&$targetArray, $targetIndex, $prependMeta=true)
 
 encodeCharacters ($usedCharacters)
 

Private Member Functions

 asHexStrings ($text)
 

Private Attributes

 $currentHexText
 
 $hexTexts
 
 $charText
 
 $charCount
 
 $lineCount
 
 $highlightState
 

Detailed Description

Definition at line 11 of file PagedHexResult.php.

Constructor & Destructor Documentation

◆ __construct()

Fossology\Lib\View\PagedHexResult::__construct (   $startOffset,
HighlightState  $highlightState 
)
Parameters
$startOffset
HighlightState$highlightState

Definition at line 48 of file PagedHexResult.php.

Member Function Documentation

◆ appendMetaText()

Fossology\Lib\View\PagedHexResult::appendMetaText (   $text)
Parameters
string$text

Reimplemented from Fossology\Lib\View\PagedResult.

Definition at line 67 of file PagedHexResult.php.

◆ asHexStrings()

Fossology\Lib\View\PagedHexResult::asHexStrings (   $text)
private
Parameters
$text
Returns
string[]

Definition at line 115 of file PagedHexResult.php.

◆ createHexdumpLine()

Fossology\Lib\View\PagedHexResult::createHexdumpLine ( )
protected
Returns
string

Definition at line 127 of file PagedHexResult.php.

◆ encodeCharacters()

Fossology\Lib\View\PagedHexResult::encodeCharacters (   $usedCharacters)
protected
Parameters
$usedCharacters
Returns
string

Definition at line 166 of file PagedHexResult.php.

◆ getText()

Fossology\Lib\View\PagedHexResult::getText ( )
Returns
string

Reimplemented from Fossology\Lib\View\PagedResult.

Definition at line 57 of file PagedHexResult.php.

◆ mergeMetaText()

Fossology\Lib\View\PagedHexResult::mergeMetaText ( $targetArray,
  $targetIndex,
  $prependMeta = true 
)
protected
Parameters
$targetArray
$targetIndex
bool$prependMeta
Returns
mixed

Definition at line 153 of file PagedHexResult.php.

◆ renderContentText()

Fossology\Lib\View\PagedHexResult::renderContentText (   $text)
protected
Parameters
string$text
Returns
string

Reimplemented from Fossology\Lib\View\PagedResult.

Definition at line 79 of file PagedHexResult.php.


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