public virtual bool VisitCppType(CppType cppType)
        {
            if (!VisitCppElement(cppType))
            {
                return(false);
            }

            return(true);
        }
Example #2
0
        /// <summary>
        /// Check if given <see cref="CppType"/> instance are equal this instance.
        /// </summary>
        public bool Equals(CppType other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(Equals(other.TypeName, TypeName) && Equals(other.Pointer, Pointer));
        }