class Chem::DFTB::Gen::Reader
Defined in:
chem/io/formats/dftb/gen.crConstructors
- .new(input : ::IO, guess_topology : Bool = true, sync_close : Bool = true)
- .new(path : Path | String, guess_topology : Bool = true) : self
Instance Method Summary
-
#next : Structure | Iterator::Stop
Returns the next element in this iterator, or
Iterator::Stop::INSTANCE
if there are no more elements. - #skip_structure : Nil
Instance methods inherited from class Chem::Structure::Reader
each(indexes : Enumerable(Int), &block : Structure -> )
each,
read_entry : Structure
read_entry,
select(indexes : Enumerable(Int)) : Iterator(Structure)
select,
skip(n : Int) : Iterator(Structure)
skip,
skip_structure : Nil
skip_structure
Constructor methods inherited from class Chem::Structure::Reader
new(input : ::IO, guess_topology : Bool = true, sync_close : Bool = true)new(path : Path | String, guess_topology : Bool = true) : self new
Instance methods inherited from class Chem::IO::Reader(Chem::Structure)
close
close,
closed?
closed?,
parse_exception(msg : String)
parse_exception,
read_entry : T
read_entry,
sync_close=(sync_close : Bool)
sync_close=,
sync_close?
sync_close?
Constructor methods inherited from class Chem::IO::Reader(Chem::Structure)
new(io : ::IO, sync_close : Bool = true)new(path : Path | String) : self new
Class methods inherited from class Chem::IO::Reader(Chem::Structure)
open(io : ::IO, sync_close : Bool = true, **options, &)open(path : Path | String, **options, &) open
Constructor Detail
Instance Method Detail
Description copied from module Iterator(Chem::Structure)
Returns the next element in this iterator, or Iterator::Stop::INSTANCE
if there
are no more elements.