BCFData
- class Communicator.BCFData()
This class contains data corresponding to the BCF file format.
Constructors
Methods
Constructors
Methods
addTopic
- Communicator.BCFData.addTopic(topicId, topic)
Adds a BCF topic.
- Arguments
topicId (
Communicator.BCFTopicId()
) –topic (
Communicator.BCFTopic()
) –
- Return type
void
exportBCF
- Communicator.BCFData.exportBCF(filename)
Exports BCF data to a file. Prompts the user to save it on their device.
- Arguments
filename (
Communicator.BCFName()
) – Filename BCF data will be exported as
- Return type
Promise[void]
getFilename
- Communicator.BCFData.getFilename()
Gets the BCF filename.
- Return type
Communicator.BCFName
getId
- Communicator.BCFData.getId()
Identifier used to keep track of loaded BCF data.
- Return type
number
getTopic
- Communicator.BCFData.getTopic(topicId)
Gets a BCF topic.
- Arguments
topicId (
Communicator.BCFTopicId()
) –
- Return type
{ }
getTopics
- Communicator.BCFData.getTopics()
- Return type
Map[Communicator.BCFTopicId, Communicator.BCFTopic]
- Returns
A map associating BCF topic ids to BCF topic data.
getVersion
- Communicator.BCFData.getVersion()
Gets the BCF version.
- Return type
Communicator.BCFVersion