mirror of
https://github.com/nasa/trick.git
synced 2025-06-21 08:29:39 +00:00
Add direct STL checkpointing
Initial checkin of STL checkpointing. This checkin only covers the sequential STLs, vector, list, deque, set, and multiset. This checkin does include the changes in Trick header files to include/exclude our STLs properly to make a restartable checkpoint. refs #206
This commit is contained in:
@ -35,6 +35,8 @@ FieldDescription::FieldDescription(
|
||||
bitfield_word_offset(0) ,
|
||||
is_enum(0) ,
|
||||
is_record(0) ,
|
||||
is_stl(0) ,
|
||||
has_stl_clear(1) ,
|
||||
is_static(0) ,
|
||||
num_dims(0) ,
|
||||
array_sizes() {} ;
|
||||
@ -368,6 +370,22 @@ bool FieldDescription::isRecord() {
|
||||
return is_record ;
|
||||
}
|
||||
|
||||
void FieldDescription::setSTL(bool yes_no) {
|
||||
is_stl = yes_no ;
|
||||
}
|
||||
|
||||
bool FieldDescription::isSTL() {
|
||||
return is_stl ;
|
||||
}
|
||||
|
||||
void FieldDescription::setSTLClear(bool yes_no) {
|
||||
has_stl_clear = yes_no ;
|
||||
}
|
||||
|
||||
bool FieldDescription::hasSTLClear() {
|
||||
return has_stl_clear ;
|
||||
}
|
||||
|
||||
void FieldDescription::setStatic(bool yes_no) {
|
||||
is_static = yes_no ;
|
||||
}
|
||||
|
Reference in New Issue
Block a user