Changeset 176c3d90 in tol
- Timestamp:
- Jul 24, 2009, 4:40:17 PM (17 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 10e4c70
- Parents:
- 47bb2da
- File:
-
- 1 edited
-
tol/btol/text_type/txtgra.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/btol/text_type/txtgra.cpp
r47bb2da r176c3d90 33 33 #include <tol/tol_btxtgra.h> 34 34 #include <tol/tol_bout.h> 35 #include <tol/tol_bnameblock.h> 35 36 #include <tol/tol_bsys.h> 36 37 #include <tol/tol_bdir.h> … … 2246 2247 } 2247 2248 2248 2249 //-------------------------------------------------------------------- 2250 DeclareContensClass(BText, BTxtTemporary, BTxtClassOf); 2251 DefExtOpr(1, BTxtClassOf, "ClassOf", 1, 1, 2252 "NameBlock", 2253 "(NameBlock instance )", 2254 I2("Returns the class name for a give NameBlock. If the nameBlock does not have Class associated returns empty \"\"", 2255 "Retorna el nombre de la clase asociada con un NameBlock. Si el NameBlock no tiene clase asociada retorna cadena vacia \"\""), 2256 BOperClassify::General_); 2257 2258 //-------------------------------------------------------------------- 2259 void BTxtClassOf::CalcContens() 2260 //-------------------------------------------------------------------- 2261 { 2262 const BNameBlock& nb = ((BUserNameBlock*)(Arg(1)))->Contens(); 2263 const BClass* cls = nb.Class( ); 2264 if ( cls ) { 2265 contens_ = cls->getName( ); 2266 } 2267 } 2249 2268 2250 2269 //-------------------------------------------------------------------- … … 2382 2401 contens_ = BText(base.c_str()); 2383 2402 } 2384 2385 2403 #endif /* __USE_TC__ */
Note: See TracChangeset
for help on using the changeset viewer.
