|
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 DWrite(const Type *pContext=0) const
void Read(const std::string &rFileName, const std::string &rLabel="", const Type *pContext=0)
std::string ToString(const std::string &rLabel="", const Type *pContext=0) const
libFAUDES 2.33b
--- 2025.05.07
--- c++ api documentaion by doxygen
|