FACT++  1.0
bool ofits::SetKeyComment ( const std::string &  key,
const std::string &  comment 
)
inline

Definition at line 430 of file ofits.h.

References ofits::Key::comment, and findkey().

Referenced by main().

431  {
432  auto it = findkey(key);
433  if (it==fKeys.end())
434  return false;
435 
436  it->comment = comment;
437  it->changed = true;
438  return true;
439  }
std::vector< Key > fKeys
Definition: ofits.h:249
std::vector< Key >::iterator findkey(const std::string &key)
Definition: ofits.h:251

+ Here is the call graph for this function:

+ Here is the caller graph for this function: