|
Go to the documentation of this file.
36 typedef TaEventSet<AttributeFlags> fEventSet;
42 fg1. Read( "data/simplemachine.gen");
48 aflag. Set(0x0000000f);
53 fg1.EventAttribute(1,aflag);
57 fg1.EventAttributep(1)->Set(0x00000f000);
63 const fEventSet& eset_ref_alph = fg1.Alphabet();
66 const EventSet& set_ref_alph = fg1.Alphabet();
69 EventSet eset_copy_alph = fg1.Alphabet();
72 std::cout << "################################\n";
73 std::cout << "# tutorial, show flags \n";
74 std::cout << bflag. ToString() << "\n";
75 std::cout << "################################\n";
79 fg1.Write( "tmp_fsimplemachine.gen");
82 fg1.Read( "tmp_fsimplemachine.gen");
85 std::cout << "################################\n";
86 std::cout << "# tutorial, show generator with flags \n";
88 std::cout << "################################\n";
93 g1. Read( "tmp_fsimplemachine.gen");
96 std::cout << "################################\n";
97 std::cout << "# tutorial, show generator without flags \n";
99 std::cout << "################################\n";
void Set(fType mask) Set multiple flags.
Set of indices with symbolic names.
Generator with specified attribute types.
void DWrite(const Type *pContext=0) const Write configuration data to console, debugging format.
void Read(const std::string &rFileName, const std::string &rLabel="", const Type *pContext=0) Read configuration data from file with label specified.
std::string ToString(const std::string &rLabel="", const Type *pContext=0) const Write configuration data to a string.
Base class of all FAUDES generators.
Includes all libFAUDES headers, incl plugings
libFAUDES resides within the namespace faudes.
libFAUDES 2.32b
--- 2024.03.01
--- c++ api documentaion by doxygen
|