RDKit
Open-source cheminformatics and machine learning.
RDKit::Abbreviations::Utils Namespace Reference

Functions

RDKIT_ABBREVIATIONS_EXPORT std::vector< AbbreviationDefinitiongetDefaultAbbreviations ()
 returns the default set of abbreviation definitions More...
 
RDKIT_ABBREVIATIONS_EXPORT std::vector< AbbreviationDefinitiongetDefaultLinkers ()
 returns the default set of linker definitions More...
 
RDKIT_ABBREVIATIONS_EXPORT std::vector< AbbreviationDefinitionparseAbbreviations (const std::string &text, bool removeExtraDummies=false, bool allowConnectionToDummies=false)
 parses a string describing abbreviation matches and returns the result More...
 
std::vector< AbbreviationDefinitionparseLinkers (const std::string &text)
 equivalent to calling parseAbbreviations(text,true,true) More...
 

Function Documentation

◆ getDefaultAbbreviations()

RDKIT_ABBREVIATIONS_EXPORT std::vector< AbbreviationDefinition > RDKit::Abbreviations::Utils::getDefaultAbbreviations ( )

returns the default set of abbreviation definitions

◆ getDefaultLinkers()

RDKIT_ABBREVIATIONS_EXPORT std::vector< AbbreviationDefinition > RDKit::Abbreviations::Utils::getDefaultLinkers ( )

returns the default set of linker definitions

◆ parseAbbreviations()

RDKIT_ABBREVIATIONS_EXPORT std::vector< AbbreviationDefinition > RDKit::Abbreviations::Utils::parseAbbreviations ( const std::string &  text,
bool  removeExtraDummies = false,
bool  allowConnectionToDummies = false 
)

parses a string describing abbreviation matches and returns the result

Referenced by parseLinkers().

◆ parseLinkers()

std::vector< AbbreviationDefinition > RDKit::Abbreviations::Utils::parseLinkers ( const std::string &  text)
inline

equivalent to calling parseAbbreviations(text,true,true)

Definition at line 92 of file Abbreviations.h.

References parseAbbreviations().