Detailed caption information.
More...
#include <ntv2srt.h>
|
| | SRTCaptionInfo (const SRTSeqNum inSeqNum=0, const SRTTimestamp inStartTime=0, const SRTDuration inDuration=0, const std::string &inRawCaption=std::string(), const size_t inStartLineNum=0, const size_t inEndLineNum=0) |
| |
| std::string | caption (void) const |
| |
| const std::string & | rawCaption (void) const |
| |
| SRTSeqNum | sequenceNum (void) const |
| |
| SRTTimestamp | startTime (void) const |
| |
| SRTDuration | duration (void) const |
| |
| SRTTimestamp | endTime (void) const |
| |
| const SRTWindow & | window (void) const |
| |
| bool | hasWindow (void) const |
| |
| uint16_t | anchor (void) const |
| |
| bool | hasAnchor (void) const |
| |
| bool | isValid (void) const |
| |
| bool | hasAnchorTag (void) const |
| |
| size_t | startLineNumber (void) const |
| |
| size_t | endLineNumber (void) const |
| |
| bool | hasLineNumbers (void) const |
| |
| size_t | startLineOffset (void) const |
| |
| size_t | endLineOffset (void) const |
| |
| bool | isFirstCaption (void) const |
| |
| bool | getCharWithAttrs (const size_t inPos, std::string &outChar, bool &outIsBold, bool &outIsItalic, std::string &outColor) const |
| |
| SRTCaptionInfo & | reset (void) |
| |
| SRTCaptionInfo & | set (const SRTSeqNum inSeqNum, const SRTTimestamp inStartTime, const SRTDuration inDuration, const std::string &inRawCaption=std::string(), const size_t inStartLineNum=0, const size_t inEndLineNum=0) |
| |
| SRTCaptionInfo & | setFirstCaption (const bool inIsFirst=true) |
| |
| SRTCaptionInfo & | setWindow (const SRTWindow &inWindow) |
| |
| SRTCaptionInfo & | setAnchorPos (const uint16_t inAnchorPos) |
| |
| SRTCaptionInfo & | setLineNumbers (const size_t inStartLineNum, const size_t inEndLineNum) |
| |
| std::ostream & | printInfo (std::ostream &oss) const |
| |
| std::ostream & | printSRT (std::ostream &oss) const |
| |
Detailed caption information.
Definition at line 61 of file ntv2srt.h.
◆ SRTCaptionInfo()
| SRTCaptionInfo::SRTCaptionInfo |
( |
const SRTSeqNum |
inSeqNum = 0, |
|
|
const SRTTimestamp |
inStartTime = 0, |
|
|
const SRTDuration |
inDuration = 0, |
|
|
const std::string & |
inRawCaption = std::string(), |
|
|
const size_t |
inStartLineNum = 0, |
|
|
const size_t |
inEndLineNum = 0 |
|
) |
| |
|
inlineexplicit |
◆ anchor()
| uint16_t SRTCaptionInfo::anchor |
( |
void |
| ) |
const |
|
inline |
◆ caption()
| std::string SRTCaptionInfo::caption |
( |
void |
| ) |
const |
◆ duration()
◆ endLineNumber()
| size_t SRTCaptionInfo::endLineNumber |
( |
void |
| ) |
const |
|
inline |
◆ endLineOffset()
| size_t SRTCaptionInfo::endLineOffset |
( |
void |
| ) |
const |
|
inline |
◆ endTime()
◆ getCharWithAttrs()
| bool SRTCaptionInfo::getCharWithAttrs |
( |
const size_t |
inPos, |
|
|
std::string & |
outChar, |
|
|
bool & |
outIsBold, |
|
|
bool & |
outIsItalic, |
|
|
std::string & |
outColor |
|
) |
| const |
◆ hasAnchor()
| bool SRTCaptionInfo::hasAnchor |
( |
void |
| ) |
const |
|
inline |
◆ hasAnchorTag()
| bool SRTCaptionInfo::hasAnchorTag |
( |
void |
| ) |
const |
|
inline |
◆ hasLineNumbers()
| bool SRTCaptionInfo::hasLineNumbers |
( |
void |
| ) |
const |
|
inline |
◆ hasWindow()
| bool SRTCaptionInfo::hasWindow |
( |
void |
| ) |
const |
|
inline |
◆ isFirstCaption()
| bool SRTCaptionInfo::isFirstCaption |
( |
void |
| ) |
const |
|
inline |
◆ isValid()
| bool SRTCaptionInfo::isValid |
( |
void |
| ) |
const |
|
inline |
◆ printInfo()
| std::ostream& SRTCaptionInfo::printInfo |
( |
std::ostream & |
oss | ) |
const |
◆ printSRT()
| std::ostream& SRTCaptionInfo::printSRT |
( |
std::ostream & |
oss | ) |
const |
◆ rawCaption()
| const std::string& SRTCaptionInfo::rawCaption |
( |
void |
| ) |
const |
|
inline |
◆ reset()
◆ sequenceNum()
| SRTSeqNum SRTCaptionInfo::sequenceNum |
( |
void |
| ) |
const |
|
inline |
◆ set()
| SRTCaptionInfo& SRTCaptionInfo::set |
( |
const SRTSeqNum |
inSeqNum, |
|
|
const SRTTimestamp |
inStartTime, |
|
|
const SRTDuration |
inDuration, |
|
|
const std::string & |
inRawCaption = std::string(), |
|
|
const size_t |
inStartLineNum = 0, |
|
|
const size_t |
inEndLineNum = 0 |
|
) |
| |
|
inline |
◆ setAnchorPos()
| SRTCaptionInfo& SRTCaptionInfo::setAnchorPos |
( |
const uint16_t |
inAnchorPos | ) |
|
|
inline |
◆ setFirstCaption()
◆ setLineNumbers()
| SRTCaptionInfo& SRTCaptionInfo::setLineNumbers |
( |
const size_t |
inStartLineNum, |
|
|
const size_t |
inEndLineNum |
|
) |
| |
|
inline |
◆ setWindow()
◆ startLineNumber()
| size_t SRTCaptionInfo::startLineNumber |
( |
void |
| ) |
const |
|
inline |
◆ startLineOffset()
| size_t SRTCaptionInfo::startLineOffset |
( |
void |
| ) |
const |
|
inline |
◆ startTime()
◆ window()
| const SRTWindow& SRTCaptionInfo::window |
( |
void |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file:
- /home/tcbuilder/buildAgent/work/df8e8cce5bebfd58/libajacc/includes/ntv2srt.h