New utility int GDU::get_size
[yazpp-moved-to-github.git] / include / yazpp / gdu.h
index c212a4a..5450a28 100644 (file)
@@ -42,6 +42,7 @@ namespace yazpp_1 {
         GDU &operator=(const GDU &);
         Z_GDU *get() const;
         void move_away_gdu(ODR dst, Z_GDU **gdu);
+        int get_size();
     private:
         void base(Z_GDU *gdu, ODR o);
         Z_GDU *m_gdu;
@@ -53,6 +54,7 @@ namespace yazpp_1 {
 /*
  * Local variables:
  * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab