Xmipp  v3.23.11-Nereus
Public Member Functions | List of all members
cif::TLSSelectionParserImplBusterOld Class Reference
Inheritance diagram for cif::TLSSelectionParserImplBusterOld:
Inheritance graph
[legend]
Collaboration diagram for cif::TLSSelectionParserImplBusterOld:
Collaboration graph
[legend]

Public Member Functions

 TLSSelectionParserImplBusterOld (const std::string &selection)
 
virtual std::unique_ptr< tls_selection > Parse ()
 
- Public Member Functions inherited from cif::tls_selection_parser_impl
 tls_selection_parser_impl (const std::string &selection)
 

Additional Inherited Members

- Protected Member Functions inherited from cif::tls_selection_parser_impl
virtual void match (int token)
 
- Protected Attributes inherited from cif::tls_selection_parser_impl
std::string m_selection
 
std::string::iterator m_p
 
std::string::iterator m_end
 
int m_lookahead
 
std::string m_token
 

Detailed Description

Definition at line 1426 of file tls.cpp.

Constructor & Destructor Documentation

◆ TLSSelectionParserImplBusterOld()

cif::TLSSelectionParserImplBusterOld::TLSSelectionParserImplBusterOld ( const std::string &  selection)
inline

Definition at line 1429 of file tls.cpp.

1430  : tls_selection_parser_impl(selection)
1431  {
1432  m_lookahead = get_next_token();
1433  }
tls_selection_parser_impl(const std::string &selection)
Definition: tls.cpp:613

Member Function Documentation

◆ Parse()

std::unique_ptr< tls_selection > cif::TLSSelectionParserImplBusterOld::Parse ( )
virtual

Implements cif::tls_selection_parser_impl.

Definition at line 1710 of file tls.cpp.

1711 {
1712  if (m_lookahead == pt_KW_PDB)
1713  {
1714  match(pt_KW_PDB);
1715  // Match(pt_KW_ENTRY);
1716 
1717  throw std::runtime_error("Unimplemented PDB ENTRY specification");
1718  }
1719 
1720  std::unique_ptr<tls_selection> result = ParseAtomSelection();
1721 
1722  match(pt_EOLN);
1723 
1724  return result;
1725 }
virtual void match(int token)
Definition: tls.cpp:633

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