19 #ifndef OST_IO_MMCIF_WRITER_HH
20 #define OST_IO_MMCIF_WRITER_HH
31 namespace ost {
namespace io {
39 const std::vector<String>&
mon_ids,
45 het[rnum].push_back(mon_id);
61 return !(*
this == rhs);
98 std::map<int, std::vector<String> >
het;
109 bool mmcif_conform=
true,
110 const std::vector<MMCifWriterEntity>& entity_info=std::vector<MMCifWriterEntity>());
113 bool mmcif_conform=
true,
114 const std::vector<MMCifWriterEntity>& entity_info=std::vector<MMCifWriterEntity>());
116 const std::vector<MMCifWriterEntity>&
GetEntities()
const {
return entity_info_; }
124 std::vector<MMCifWriterEntity> entity_info_;
std::vector< String > asym_ids
std::map< String, std::vector< String > > asym_alns
bool operator!=(const MMCifWriterEntity &rhs) const
std::map< int, std::vector< String > > het
boost::shared_ptr< StarWriterLoop > StarWriterLoopPtr
void AddHet(int rnum, const String &mon_id)
boost::shared_ptr< CompoundLib > CompoundLibPtr
static MMCifWriterEntity FromPolymer(const String &entity_poly_type, const std::vector< String > &mon_ids, conop::CompoundLibPtr compound_lib)
std::vector< String > seq_can_olcs
bool operator==(const MMCifWriterEntity &rhs) const
std::vector< String > mon_ids
const std::vector< MMCifWriterEntity > & GetEntities() const
std::vector< String > seq_olcs
int GetAsymIdx(const String &asym_id) const