iotbx::pdb::utils Namespace Reference

Miscellaneous algorithms. More...


boost::int64_t base_256_ordinal (const char *s)
 Integer equivalent of base-256 pseudo-numbers.

Detailed Description

Miscellaneous algorithms.

Function Documentation

boost::int64_t iotbx::pdb::utils::base_256_ordinal ( const char *  s  ) 

Integer equivalent of base-256 pseudo-numbers.

Similar to interpretation of base-10 numbers. Leading spaces are ignored. If the first non-space is a minus sign, it is interpreted as such. All following characters are interpreted as base-256 digits, spaces and minus signs included. NOTE: trailing spaces are significant!

Generated on Thu Jun 19 15:35:08 2014 for cctbx by  doxygen 1.5.6