16 #ifndef INCLUDED_core_pose_PDBInfo_hh
17 #define INCLUDED_core_pose_PDBInfo_hh
39 #include <utility/exit.hh>
40 #include <utility/PyAssert.hh>
41 #include <utility/pointer/ReferenceCount.hh>
43 #include <utility/vector1.hh>
45 #include <numeric/xyzVector.hh>
55 static std::string const chr_chains(
" ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyz" );
154 #ifdef USEBOOSTSERIALIZE
155 friend class boost::serialization::access;
158 template<
class Archive>
159 void serialize(Archive & ar,
const unsigned int version) {
187 #ifdef USEBOOSTSERIALIZE
188 friend class boost::serialization::access;
191 template<
class Archive>
192 void serialize(Archive & ar,
const unsigned int version) {
363 PyAssert( (res>0) && (res<
residue_rec_.size()),
"PDBInfo::natoms( Size const res): res is not in this PDBInfo!" );
386 bool const zero =
true
395 bool const zero =
true
633 char const icode =
' '
732 char const ins_code =
' '
749 Size const atom_index
770 Size const atom_index
773 return residue_rec_[ res ].atomRec[ atom_index ].altLoc;
790 Size const atom_index
793 return residue_rec_[ res ].atomRec[ atom_index ].occupancy;
810 Size const atom_index
813 return residue_rec_[ res ].atomRec[ atom_index ].temperature;
829 Size const atom_index,
844 Size const atom_index,
858 Size const atom_index,
862 residue_rec_[ res ].atomRec[ atom_index ].occupancy = occ;
872 Size const atom_index,
914 show( std::ostream & out )
const;
928 template<
typename CharIterator >
932 CharIterator
const & begin,
933 CharIterator
const &
end
938 for ( CharIterator i = begin; i <
end; ++i, ++rr ) {
953 template<
typename CharContainer >
969 template<
typename IntIterator >
973 IntIterator
const & begin,
974 IntIterator
const &
end
979 for ( IntIterator i = begin; i <
end; ++i, ++rr ) {
994 template<
typename IntContainer >
1010 template<
typename CharIterator >
1014 CharIterator
const & begin,
1015 CharIterator
const &
end
1020 for ( CharIterator i = begin; i <
end; ++i, ++rr ) {
1035 template<
typename CharContainer >
1056 Size const copy_from,
1058 Size const start_from
1172 #ifdef USEBOOSTSERIALIZE
1173 friend class boost::serialization::access;
1176 template<
class Archive>
1177 void serialize(Archive & ar,
const unsigned int version) {
1239 #endif //INCLUDED_core_pose_PDBInfo_HH