Changeset eb8d7c5 in tol
- Timestamp:
- Mar 4, 2011, 12:28:46 PM (16 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 8670718
- Parents:
- 57b66e4
- File:
-
- 1 edited
-
tol/btol/real_type/datgrav.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tol/btol/real_type/datgrav.cpp
r57b66e4 reb8d7c5 2739 2739 TolShowStatus(); 2740 2740 } 2741 2742 //-------------------------------------------------------------------- 2743 DeclareContensClass(BDat, BDatTemporary, BDatSameSet); 2744 DefExtOpr(1, BDatSameSet, "SameSet", 2, 2, "Set Set", 2745 "(Set a, Set b)", 2746 I2("Returns true if both objetcts have the same array of references. " 2747 "That is, if by changing one amending the other and vice versa.", 2748 "Devuelve cierto si los dos objetos contienen el mismo arreglo " 2749 "de referencias. Es decir, si al modificar el uno se cambia el " 2750 "otro y viceversa."), 2751 BOperClassify::Conversion_); 2752 void BDatSameSet::CalcContens() 2753 //-------------------------------------------------------------------- 2754 { 2755 BNameBlock& a = ((BUserNameBlock*)Arg(1))->Contens(); 2756 BNameBlock& b = ((BUserNameBlock*)Arg(2))->Contens(); 2757 contens_ = (&a==&b); 2758 } 2759 2760 //-------------------------------------------------------------------- 2761 DeclareContensClass(BDat, BDatTemporary, BDatSameNameBlock); 2762 DefExtOpr(1, BDatSameNameBlock, "SameNameBlock", 2, 2, 2763 "NameBlock NameBlock", 2764 "(NameBlock a, NameBlock b)", 2765 I2("Returns true if both objetcts have the same array of references. " 2766 "That is, if by changing one amending the other and vice versa.", 2767 "Devuelve cierto si los dos objetos contienen el mismo arreglo " 2768 "de referencias. Es decir, si al modificar el uno se cambia el " 2769 "otro y viceversa."), 2770 BOperClassify::Conversion_); 2771 void BDatSameNameBlock::CalcContens() 2772 //-------------------------------------------------------------------- 2773 { 2774 BSet& a = Set(Arg(1)); 2775 BSet& b = Set(Arg(2)); 2776 contens_ = (&a==&b); 2777 } 2778
Note: See TracChangeset
for help on using the changeset viewer.
