MCPcopy Create free account
hub / github.com/DFHack/dfhack / bitfield_to_string

Function bitfield_to_string

library/include/DataDefs.h:908–911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

906 */
907 template<class T>
908 inline void bitfield_to_string(std::vector<std::string> *pvec, const T &val) {
909 typedef df::bitfield_traits<T> traits;
910 bitfieldToString(pvec, &val.whole, traits::bit_count, traits::bits);
911 }
912
913 /**
914 * Represent bitfield bits as a string, using sep as join separator.

Callers 12

printItemDetailsMethod · 0.50
print_bitfieldFunction · 0.50
printJobDetailsMethod · 0.50
ToReadableLabelMethod · 0.50
df_showmoodFunction · 0.50
shortJobDescriptionFunction · 0.50
place_ordersMethod · 0.50
bitfield_to_json_arrayFunction · 0.50
cursecheckFunction · 0.50
writeMethod · 0.50
serializeMethod · 0.50

Calls 1

join_stringsFunction · 0.70

Tested by

no test coverage detected