BCFData
- class Communicator.BCFData()
This class contains data corresponding to the BCF file format.
Constructors
Methods
Constructors
Methods
addTopic
- BCFData.addTopic(topicId, topic)
Adds a BCF topic.
- Arguments
topicId (BCFTopicId) –
topic (
BCFTopic()
) –
- Return type
void
exportBCF
getFilename
getId
- BCFData.getId()
Identifier used to keep track of loaded BCF data.
- Return type
number
getTopic
- BCFData.getTopic(topicId)
Gets a BCF topic.
- Arguments
topicId (BCFTopicId) –
- Return type
BCFTopic()
| null
getTopics
- BCFData.getTopics()
- Return type
Map <BCFTopicId,
BCFTopic()
>- Returns
A map associating BCF topic ids to BCF topic data.
getVersion
- BCFData.getVersion()
Gets the BCF version.
- Return type
setVersion
- BCFData.setVersion(version)
Sets the BCF version.
- Arguments
version (BCFVersion) –
- Return type
void
toBcfZipBlob
- BCFData.toBcfZipBlob()
Creates a BCFZIP blob. The resulting blob is importable using
BcfManager.addBCFFromBuffer
.- Return type
Promise <Blob>